Install Winget Using Powershell Updated Instant
Use WinGet to install and manage applications | Microsoft Learn
WinGet (Windows Package Manager) has become an essential tool for developers and IT professionals, but it isn't always active by default—especially on older Windows 10 versions, Windows Server, or fresh installations.
The .xml license file associated with the release. install winget using powershell updated
Install-Module -Name Microsoft.WinGet.Client -Force -Repository PSGallery Use code with caution. powershell
Once downloaded, run these commands in order: powershell Use WinGet to install and manage applications |
You need the following packages from the official WinGet GitHub releases :
# Use -AllUsers for system-wide installation Repair-WinGetPackageManager -AllUsers Use code with caution. powershell Once downloaded, run these commands in order:
Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe Use code with caution.
# 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.
This guide provides the to install WinGet in 2026, ranging from quick one-liners to robust manual installations for restricted environments. Method 1: The One-Line Script (Recommended for Most Users)