Winget relies on specific Microsoft C++ Runtime frameworks. If these are missing from your operating system, the Winget installation will fail.
The easiest, most up-to-date route is the Microsoft Store App Installer package, which contains winget.
The Windows Package Manager (WinGet) is a command-line tool that lets you install, update, and manage software with a single command. While Windows 10 and 11 usually include it by default via the Microsoft App Installer, you can manually install or force-update it using PowerShell. 1. Check for Existing Installation
Microsoft provides a streamlined deployment script that handles dependencies automatically. This is the fastest and most reliable method for 2026. Step 1: Open PowerShell as Administrator Press the . Type PowerShell . install winget using powershell updated
Add-AppxProvisionedPackage -Online -PackagePath "winget.msixbundle" -LicensePath "license.xml"
WinGet is included by default in Windows 10 (version 1809 and later), Windows 11, and Windows Server 2025. However, not all systems have the latest version, and some environments (like Windows LTSC or Server Core) may lack it entirely. That's why knowing how to install or update WinGet using PowerShell is essential.
Windows Server (2019, 2022, and 2025) does not natively support the Microsoft Store infrastructure, which often breaks standard WinGet installers. To make WinGet function on Windows Server via PowerShell, you must manually install the required VCLibs and UI XAML dependencies first. Winget relies on specific Microsoft C++ Runtime frameworks
: The Microsoft Store hasn't updated core packages.
A: No. WinGet requires Windows 10 version 1809 or newer, or Windows Server 2019 and above. Earlier versions are not supported.
To run a quick diagnostic test to ensure the repository sources are loading correctly, use: powershell winget list Use code with caution. Troubleshooting Common Errors 1. "The term 'winget' is not recognized..." The Windows Package Manager (WinGet) is a command-line
Example: Add-AppxPackage -Path ".\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle" Step 3: Install Dependencies (If Necessary)
Are you deploying this on a or a Windows Server environment?
winget relies on the Visual C++ Runtime ( VCLibs ) and the Microsoft UI XAML framework ( Microsoft.UI.Xaml ). Attempting to install the .msixbundle without these dependencies will result in a deployment error. The script above mitigates this by staging the dependencies first. Method 2: Installing Winget on Windows Server