Install Winget Using Powershell Updated __hot__ [FAST]
Using PowerShell to install or update WinGet is the fastest, most reliable method to get the package manager up and running. This updated guide covers how to install WinGet using PowerShell across all environments, including headless servers and restricted networks. Method 1: The Quick Updated PowerShell Script (Recommended)
Once Winget is installed, updating it differs from updating applications with Winget. To update Winget itself:
: This usually happens if you skipped Method 2's dependency steps. Ensure you manually download and run Add-AppxPackage for both Microsoft.VCLibs and Microsoft.UI.Xaml .
Now you’re ready to manage your Windows applications with the most up‑to‑date version of Winget available. install winget using powershell updated
Or update App Installer via Microsoft Store (open the store link from Step 3 and click Update).
By default, PowerShell restricts script execution to prevent malicious scripts from running on your system. To enable script execution, run the following command in PowerShell:
You should now have winget installed on your system using PowerShell. You can use winget to install and manage software on your Windows system. Using PowerShell to install or update WinGet is
$action = New-ScheduledTaskAction -Execute "powershell.exe" -Argument "-Command `"& iwr https://aka.ms/getwinget -OutFile $env:TEMP\winget.msixbundle; Add-AppxPackage -Path $env:TEMP\winget.msixbundle `"" $trigger = New-ScheduledTaskTrigger -Monthly -Days 1 Register-ScheduledTask -TaskName "UpdateWinget" -Action $action -Trigger $trigger -RunLevel Highest
As of the latest updates in 2026, the stable version is approximately v1.28.x, with the App Installer and WinGet now sharing the same version number for consistency.
You should see the version number of winget installed on your system. To update Winget itself: : This usually happens
The application may automatically install additional dependencies required for Winget to function properly.
After the script completes, verify the installation:
Then reinstall using any method described above.