Install PowerShell in CentOS 7 Core

Installing PowerShell for Linux is a pretty straight forward process, but can be kind of a pain if you are using a core install. Below are tips and directions for installing PowerShell in CentOS 7 core.

In order to download the PowerShell install files you will need wget. If you don’t have it installed you can install it using the following command.

Once wget is installed you are ready to download PowerShell. In order to download from wget you just need to supply the URL of the file to download. However, the URL to download PowerShell is After attempting to type in this URL multiple times, I decided to find a better way. That better way is to use a Tiny URL. I created the URL that redirects to the full download link. So all you need to do is use wget to download the install file, rename it to an RPM file, then install it. You may want to make your own Tiny URL if you want to install a different version. The commands to do this are below.



Once the installer completes you can type in powershell to launch it. From there you are in the PowerShell environment. I typed in Get-Command to confirm everything installed correctly, and to get a list of the commands available.


One Response

  1. Jari Turkia August 22, 2016

Leave a Reply