Install Winget Using Powershell Updated Jun 2026

Download the installation script from the project's releases page or use Invoke-WebRequest :

Open a PowerShell window and run:

But the most straightforward method remains running the PowerShell script from Step 3 once every 2–3 months. install winget using powershell updated

If a version number is displayed, WinGet is already installed. If you receive an error stating that the command is not recognized, the App Installer package is missing or outdated, and you should proceed with one of the installation methods below.

Note: Adding -IncludePrerelease to the final command will install the preview version instead. Method 2: Manual MSIX Installation via PowerShell Download the installation script from the project's releases

Right-click (or Terminal) and select Run as administrator . Step 2: Configure the Execution Policy

$progressPreference = 'silentlyContinue' Write-Host "Installing WinGet PowerShell module from PSGallery..." Install-PackageProvider -Name NuGet -Force | Out-Null Install-Module -Name Microsoft.WinGet.Client -Force -Repository PSGallery | Out-Null Write-Host "Using Repair-WinGetPackageManager cmdlet to bootstrap WinGet..." Repair-WinGetPackageManager -AllUsers Write-Host "Done." Note: Adding -IncludePrerelease to the final command will

If a version number appears, WinGet is successfully installed and ready to use.