Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Fix “winget Is Not Recognized” on Windows

Restore the WinGet command by checking App Installer, the execution alias, and your user PATH. Verify the fix in a fresh terminal.

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.

How to fix Winget not recognized error on Windows Picture 4

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

How to fix Winget not recognized error on Windows Picture 1

How to fix Winget not recognized error on Windows Picture 2

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.

How to fix Winget not recognized error on Windows Picture 3

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

How to fix Winget not recognized error on Windows Picture 7

How to fix Winget not recognized error on Windows Picture 8

How to fix Winget not recognized error on Windows Picture 9

How to fix Winget not recognized error on Windows Picture 10

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.

How to fix Winget not recognized error on Windows Picture 5

How to fix Winget not recognized error on Windows Picture 6

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.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.