Installing various versions of PowerShell
Over the years, there have been many releases of PowerShell. Initially, Windows PowerShell was built on the .NET Framework and only worked on Windows systems. With the current release, PowerShell Core uses .NET Core 2.x as its runtime. PowerShell Core supports the Windows, macOS, and Linux platforms.
For more information about installing the legacy versions of PowerShell on Windows, see Installing Windows PowerShell.
PowerShell Core is now an Open Source project on GitHub. See the following articles for more information on installing PowerShell Core on various supported and experimental platforms.