Install PowerShell

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

PowerShell

winget search --id Microsoft.PowerShell
Output

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:

PowerShell

winget install --id Microsoft.PowerShell --source winget

If you want to install PowerShell 7 Preview, use the following command:

PowerShell

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.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *