Table of Contents
When PowerShell or Command Prompt says winget isn’t recognized, check whether App Installer is installed for your Windows account, then check the command alias. Start by opening a new terminal and running winget --version. If it prints a version, Windows can already find the command.
Install or update App Installer
WinGet is included with Microsoft’s App Installer. On Windows 11 and supported Windows 10 builds, open the Microsoft Store, look for App Installer, and install or update it. If you’re unsure of your release, check your Windows version and build.

Register App Installer for the current account
If the app is installed but WinGet is missing, especially after signing into a new Windows profile, open PowerShell under the affected account and run:
Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe

Close the terminal, open a new one, and test winget --version. Microsoft’s WinGet documentation explains when an initial registration is needed.
Turn on the execution alias
Search Settings for App execution aliases. On Windows 11, it’s usually under Apps > Advanced app settings. Check that the Windows Package Manager Client alias for winget.exe is enabled.

Check the current user’s PATH
Run where.exe winget in a new terminal. If the alias is enabled but the command still can’t be found, check the Path entry under User variables. If the following entry is missing, add it as a new row, leaving existing entries in place:
%LOCALAPPDATA%MicrosoftWindowsApps



Open a fresh terminal and run the version command again.
Repair or reinstall a damaged App Installer package
If App Installer is listed under Settings > Apps > Installed apps and offers Advanced options > Repair, try that first. If the Store is unavailable on a personal PC, Microsoft’s documentation links to the official WinGet releases. Use a stable release and follow its requirements.


On a managed PC, ask IT if deployment or app execution policies prevent its use. A local policy change can conflict with organization settings.
Verify the command
Run winget --version and winget --help. If those work, a later package search or installer error is a separate problem. See how to use WinGet for package commands.
Reader Comments 0
Sign in with email or Google to join the discussion.