Install Winget Using Powershell Updated [updated] May 2026
# Installs WinGet immediately using a trusted community script irm asheroto.com/winget | iex Use code with caution.
Note: Using -Force (e.g., irm asheroto.com/winget | iex -Arguments "-Force" ) will reinstall WinGet even if it's already present, which is helpful for repairing broken installations.
# Use -AllUsers for system-wide installation Repair-WinGetPackageManager -AllUsers Use code with caution. install winget using powershell updated
The .xml license file associated with the release.
You need the following packages from the official WinGet GitHub releases : # Installs WinGet immediately using a trusted community
# 1. Install Dependencies Add-AppxPackage -Path "C:\Path\To\Microsoft.VCLibs.x64.14.00.Desktop.appx" Add-AppxPackage -Path "C:\Path\To\Microsoft.UI.Xaml.2.8.appx" # 2. Install the WinGet Bundle Add-AppxPackage -Path "C:\Path\To\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle" # 3. Register the License (Required for full functionality) Add-AppxProvisionedPackage -Online -PackagePath "C:\Path\To\Microsoft.DesktopAppInstaller.msixbundle" -LicensePath "C:\Path\To\License.xml" Use code with caution.
Once downloaded, run these commands in order: powershell install winget using powershell updated
Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe Use code with caution.