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 wingetScoop
scoop install main/pwshChocolatey
choco install powershell-core -yPackage 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 manager | Package | Verified version | Source |
|---|---|---|---|
| winget | Microsoft.PowerShell | 7.6.6.0 | Manifest |
| Scoop | main/pwsh | – | Manifest |
| Chocolatey | powershell-core | 7.6.6 | Manifest |
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