Installing PowerShell on RHEL/Fedora/CentOS based systems

Even that it may sound unusual, there are occasions when you would prefer to install PowerShell on Linux systems. For example – like me, you have access to several Linux system for practicing and no windows server/ workstations. Thanks to Microsoft’s “love for Linux”, during Satya Nadella’s reign, it’s quite easy.


  1. Add the PowerShell repository:
    1. curl > /etc/yum.repos.d/microsoft.repo
  2. Update the repo
  3. Install PowerShell
    1. yum install powershell
  4. Launch PowerShell:
    1. powershell
  5. Enjoy 🙂