Install Winget Using Powershell Updated Extra Quality
As of Windows 11 and Windows 10 version 1809, Microsoft introduced a new package manager called winget . This tool allows users to easily discover, install, and manage packages (applications) on their Windows machines. In this article, we'll walk through the process of installing winget using PowerShell.
Method 2: Manual PowerShell Deployment (Best for Troubleshooting)
Install-Module -Name Microsoft.WinGet.Client install winget using powershell updated
Press Win + X and select or Windows PowerShell (Admin) . Step 2: Run the Installation Script
After running any of the methods above, close your current PowerShell window and open a fresh one. Run the following command to ensure Winget is functioning correctly: powershell winget --version Use code with caution. As of Windows 11 and Windows 10 version
Use WinGet to install and manage applications | Microsoft Learn 24 Mar 2026 —
cmdlet to automatically install WinGet and its required dependencies (VCLibs and UI Xaml) powershell Repair-WinGetPackageManager -AllUsers ``` Use code with caution. Copied to clipboard Method 2: Force-Registering the App Installer Use WinGet to install and manage applications |
winget source reset --force
$vclibsUrl = "https://aka.ms" Invoke-WebRequest -Uri $vclibsUrl -OutFile "$env:TEMP\VCLibs.appx" Add-AppxPackage -Path "$env:TEMP\VCLibs.appx" Use code with caution. Step 5: Verify the Installation Restart your PowerShell session and type: winget --version You should now see the current version (e.g., v1.7.10861).
Add-AppxPackage -Path "C:\Users\YourUsername\Downloads\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle" Use code with caution. Method 3: Fixing a Broken Winget Installation
This script remotely executes the Winget installation on every computer listed in the $computers array.