Install Winget Using Powershell Updated Jun 2026

The Microsoft.WinGet.Client module provides native PowerShell commands that map directly to Winget functionality:

This command is incredibly useful because it solves the "circular dependency" problem where you need Winget to update Winget. It is the suggested solution by Microsoft engineers for fixing broken or missing installations.

Steps:

| Error | Fix | |-------|-----| | Add-AppxPackage fails | Enable Developer Mode: Settings > Update & Security > For developers | | 0x80073D05 | Install all missing dependencies (VCLibs, UI.Xaml) | | winget not recognized | Log off / restart, or add %LOCALAPPDATA%\Microsoft\WindowsApps to PATH | | Windows LTSC | Install App Installer from Store using wsreset -i or manually via .appx |

Get-AppxPackage -AllUsers -Name "Microsoft.DesktopAppInstaller" | Foreach Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml" Use code with caution. Copied to clipboard 4. Basic WinGet Usage Tips install winget using powershell updated

Installing WinGet (Windows Package Manager) has become significantly easier in modern versions of Windows 10 and 11 because it is now included by default. However, if you are on an older build, have a corrupted installation, or are using Windows Server, you may need to install it manually.

$computers = @("PC01", "PC02", "PC03") foreach ($computer in $computers) Invoke-Command -ComputerName $computer -ScriptBlock irm asheroto.com/winget The Microsoft

Use WinGet to install and manage applications | Microsoft Learn

This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later. Copied to clipboard 4