Install Winget Using Powershell Updated May 2026
Open elevated PowerShell and run:
start ms-windows-store://pdp/?productid=9NBLGGH4NNS1
Then install from the Store.
If you want, I can provide the official Microsoft download URL or the exact MSIXBundle filename for manual install (tell me your Windows build/version).
Installing winget using PowerShell
winget is a package manager for Windows, which allows you to easily install and manage software on your system. Here's how you can install winget using PowerShell:
Prerequisites:
Step 1: Check if winget is already installed
Before installing winget, let's check if it's already installed on your system. Open PowerShell as an administrator and run the following command:
winget --version
If winget is already installed, you should see the version number. If not, proceed to the next step. install winget using powershell updated
Step 2: Install winget
To install winget, run the following command in PowerShell:
Add-AppPackage -Online -DisableDevelopmentMode -Register "$env:LOCALAPPDATA\Microsoft\WinGet\WinGet.msix"
This command will download and install the winget package.
Step 3: Verify winget installation
Once the installation is complete, verify that winget is installed by running:
winget --version
You should see the version number, for example: v1.0.0.
Step 4: Update winget (optional)
If you want to ensure you have the latest version of winget, run: Then install from the Store
winget update --self
This command will update winget to the latest version.
Troubleshooting tips:
That's it! You should now have winget installed on your system using PowerShell. You can use winget to install and manage software on your Windows system.
Here is a sample paper:
Install winget using PowerShell
Introduction
winget is a package manager for Windows that allows you to easily install and manage software on your system. In this guide, we will walk you through the steps to install winget using PowerShell.
Prerequisites
Step-by-Step Instructions
Commands
Troubleshooting tips
By following these steps, you should be able to install winget using PowerShell and start managing software on your Windows system.
$downloadUrl = $asset.browser_download_url $outputPath = "$env:TEMP\winget.msixbundle" Invoke-WebRequest -Uri $downloadUrl -OutFile $outputPath
If you are on Windows 11 and have a stable internet connection, you can try the simplest command first. This only works if your machine is already configured to use the Microsoft Store source correctly.
winget install Microsoft.AppInstaller
Note: If this returns an error saying winget is not recognized, use Method 1 or 2 above.
For automation or offline environments, use PowerShell to download and install the latest version directly from GitHub. Step 1: Check if winget is already installed
