安装各种版本的 PowerShellInstalling various versions of PowerShell

多年来,PowerShell 已有很多版本发布。Over the years, there have been many releases of PowerShell. 最初,Windows PowerShell 是在 .NET Framework 基础之上构建而成,仅适用于 Windows 系统。Initially, Windows PowerShell was built on the .NET Framework and only worked on Windows systems. 在最新版本中,PowerShell 使用 .NET Core 3.1 作为运行时。With the current release, PowerShell uses .NET Core 3.1 as its runtime. PowerShell 在 Windows、macOS 和 Linux 平台上运行。PowerShell runs on Windows, macOS, and Linux platforms.

PowerShellPowerShell

PowerShell Core 是 GitHub 上的开放源代码项目。PowerShell Core is an Open Source project on GitHub. 若要详细了解如何在各种受支持的试验平台上安装 PowerShell,请参阅以下文章。See the following articles for more information on installing PowerShell on various supported and experimental platforms.

Windows PowerShellWindows PowerShell

若要详细了解如何在 Windows 上安装旧版 PowerShell,请参阅安装 Windows PowerShellFor more information about installing the legacy versions of PowerShell on Windows, see Installing Windows PowerShell.