Replace <package_name> with the name of the software you want to install.
In this post, I’ll show you how to with the most up-to-date methods for 2026. install winget using powershell updated
This installs the official App Installer package that contains winget. Replace <package_name> with the name of the software
Set-ExecutionPolicy RemoteSigned -Scope LocalMachine -Force install winget using powershell updated
Installing WinGet via PowerShell is the most efficient method for system administrators and power users. As of April 2026, the updated process leverages the Microsoft.WinGet.Client module or direct registration of the App Installer component.
# Latest stable URLs (check https://github.com/microsoft/winget-cli/releases) $bundleUrl = "https://github.com/microsoft/winget-cli/releases/latest/download/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle" $vclibsUrl = "https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx" $licenseUrl = "https://github.com/microsoft/winget-cli/releases/latest/download/License1.xml"
Notes: