Install Winget - Using Powershell Updated
To keep Winget updated automatically without manual scripts, you can:
After the script completes, verify the installation:
Method 2: Manual GitHub Bootstrap (For Air-Gapped or Broken Systems)
Open as Administrator (Right-click Start > Terminal/PowerShell Admin). powershell winget --version Use code with caution. install winget using powershell updated
Replace <package_name> with the name of the software you want to install.
Get-AppxPackage Microsoft.DesktopAppInstaller | Repair-AppxPackage
If you don’t have PowerShell 7, you can install it from GitHub or via the Microsoft Store. To keep Winget updated automatically without manual scripts,
Once downloaded, open PowerShell as Administrator and run the following command (replace the file path with your download path): powershell
The most robust way to install or update Winget is by installing the package from the Microsoft Store, which brings in Winget, Desktop Bridge, and necessary framework dependencies. Open PowerShell as Administrator.
This command should display the version of Winget installed on your system. Get-AppxPackage Microsoft
winget export -o myapps.json — Saves a list of all your apps to a file.
Add-AppxPackage -Path "C:\path\to\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle"
But what if winget is missing from your system? Or worse—what if it’s outdated?
Install-Module -Name Microsoft.WinGet.Client -Force -Repository PSGallery Repair-WinGetPackageManager -AllUsers Use code with caution. Copied to clipboard
To check your Windows version, press Win + R , type winver , and press Enter. Verify that your OS build meets the minimum requirements.