Install PowerShell 7 on Windows

The latest cross-platform PowerShell (7.x), side by side with Windows PowerShell 5.1.

Install commands

Open PowerShell or Windows Terminal and run one of these commands to install PowerShell 7.

winget
winget install --id Microsoft.PowerShell --exact --source winget
Scoop
scoop install main/pwsh
Chocolatey
choco install powershell-core -y

Package details

Category
Terminal & Shell
winget
Microsoft.PowerShell
Scoop
main/pwsh
Chocolatey
powershell-core

Package sources

The script installs exactly these packages. Versions are the latest ones recorded by the automated catalog check on 2026-09-14; they are used when version pinning is enabled.

Package managerPackageVerified versionSource
wingetMicrosoft.PowerShell7.6.6.0Manifest
Scoopmain/pwsh–Manifest
Chocolateypowershell-core7.6.6Manifest

Install PowerShell 7 together with other apps

Add this app to a WinMate selection to install it together with the rest in one script and with a single administrator prompt.

Add to my install script

More Terminal & Shell