Skip to content

Install Winget Using Powershell Updated

Microsoft allows you to trigger the Microsoft Store install via a protocol command. Run the following command:

start ms-windows-store://pdp/?productid=9NBLGGH4NNS1

This command opens the Microsoft Store page for the "App Installer." Click Get or Install. install winget using powershell updated

# One-liner to get winget on Windows 10/11
irm https://raw.githubusercontent.com/rom MMV/winget-install/master/install-winget.ps1 | iex

⚠️ Always inspect remote scripts before piping to iex. Microsoft allows you to trigger the Microsoft Store


Run the following script to download and apply the latest Winget update: This command opens the Microsoft Store page for

# Fetch latest release info from GitHub
$latestRelease = Invoke-RestMethod -Uri "https://api.github.com/repos/microsoft/winget-cli/releases/latest"
$bundleUrl = ($latestRelease.assets | Where-Object  $_.name -like "*.msixbundle" ).browser_download_url

For automation or offline environments, use PowerShell to download and install the latest version directly from GitHub.