Install Winget Using Powershell Updated Exclusive Jun 2026

Windows Package Manager (winget) lets you install, update, and manage apps from the command line. This guide shows an updated, step-by-step method to install winget using PowerShell on Windows 10 and Windows 11, including checks and troubleshooting.

If you prefer more control or want to inspect the script before execution, you can download it locally first.

Instead of manually updating, schedule a monthly task via PowerShell: install winget using powershell updated

After running either installation method, restart your PowerShell console to update your system's environment paths. Run the following command to verify that winget is functional: powershell winget --version Use code with caution.

Ensure WinGet can connect to the Microsoft repository: Windows Package Manager (winget) lets you install, update,

If the Microsoft Store is blocked, unavailable, or you are running an offline machine, you can install the App Installer bundle manually.

To install or repair WinGet (Windows Package Manager) using PowerShell, you can use the modern Microsoft.WinGet.Client module method. This is the current recommended approach for environments where WinGet is missing or broken, such as clean installs or Windows Sandbox. Instead of manually updating, schedule a monthly task

This command displays the version of Winget installed on your system.

A: No. WinGet requires Windows 10 version 1809 or newer, or Windows Server 2019 and above. Earlier versions are not supported.

After installation or update, always verify success:

Get-AppxPackage -Name Microsoft.DesktopAppInstaller | Reset-AppxPackage