Install PowerShell using WinGet (recommended)
WinGet, the Windows Package Manager, is a command-line tool that enables you to discover, install, upgrade, remove, and configure applications on Windows client computers. This tool is the client interface to the Windows Package Manager service. Theย wingetย command-line tool is included in Windows 11 and Windows Server 2025 as part of theย App Installer.
ย Note
See theย winget documentationย for a list of system requirements and install instructions.ย wingetย isn’t available on Windows Server 2022 or earlier versions. Windows Server 2025 includesย wingetย forย Windows Server with Desktop Experienceย only.
Use the followingย wingetย commands to install PowerShell:
Search for the latest version of PowerShell
winget search --id Microsoft.PowerShell
Name Id Version Source
-----------------------------------------------------------------
PowerShell Microsoft.PowerShell 7.6.0.0 winget
PowerShell Preview Microsoft.PowerShell.Preview 7.6.0.101 winget
Install PowerShell 7:
winget install --id Microsoft.PowerShell --source winget
If you want to install PowerShell 7 Preview, use the following command:
winget install --id Microsoft.PowerShell.Preview --source winget
ย Note
On systems using the Arm64 processor,ย wingetย installs the Microsoft Store (MSIX) package.
Install the MSI package
To install PowerShell on Windows, use the following links to download the install package from GitHub.
Latest stable release:
Once downloaded, double-click the installer file and follow the prompts.
Leave a Reply