Winget not recognized in Windows 11

Yes Winget is not recognized on your Windows 11 computer, you can follow these tips to fix the problem. Although quite rare, it can happen to any user. If you are one of them, you can fix it quickly using the following solutions.

The full error message says:

‘winget’ is not recognized as an internal or external command, executable program or batch file.

You may see this error when trying to enter the fin command in an elevated command prompt window.

Winget not recognized in Windows 11

If Winget is not recognized in Windows 11, follow these steps:

  1. Download or update App Installer
  2. Download Winget from GitHub
  3. Define the right path

To learn more about these steps, keep reading.

1]Download or update App Installer

WinGet not recognized in Windows 11

This is the very first thing you need to do to get the winget command working on your Windows 11 or Windows 10 computer. The App Installer is not a standard package that you can find on the Microsoft Store. It is one of the most important components of your Windows 11 computer since it contains the winget and various utilities.

If you disabled or uninstalled it by mistake, you will encounter the aforementioned error on your PC. On the other hand, if you haven’t updated this package for a very long time, a similar problem may occur.

That is why it is recommended to check whether or not you have the latest version of App Installer on your computer. For that, you can head to the Microsoft Store and find the App Installer package. You can also visit this page on microsoft.com to open the Microsoft Store and install or update the package accordingly.

2]Download Winget from GitHub

If you are unable to download the winget from the official repository or the Microsoft Store, you can always download or update it from GitHub. As you are using Windows 11, there will be no compatibility issues when installing or updating the package.

If you don’t have the package on your computer, you can find the Install option. However, if you already have the package, you can find the Reinstall option.

Once you go through the on-screen instructions, you will be able to use the winget commands on your computer without any problems.

If you want, you can download the Windows Package Manager from github.com.

3]Set the right path

WinGet not recognized in Windows 11

By default, Windows 11 keeps the winget.exe here: %userprofile%AppDataLocalMicrosoftWindowsApps. However, if it is deleted from there, you can follow the aforementioned steps to get it back. On the other hand, if your path is incorrect or you changed it earlier to test something in the past, you should set the correct path in the Environment variables section.

To set the correct path to wingset.exe, follow these steps:

  • To research Environment variables and open the individual search result.
  • Click on the Environment variables button.
  • To select Way and click on the To modify button.
  • Select the existing path and click the To modify button.
  • Enter this: %userprofile%AppDataLocalMicrosoftWindowsApps
  • Click it OKAY button.

Then restart your computer and check if this fixes your problem or not.

How to get Winget in Windows 11?

To get Winget in Windows 11, there are mainly two methods. First, you can follow the official method, which is to use the Microsoft Store. You can head to the Microsoft Store and find the Application Installer. Then you can install the package on your computer. On the other hand, you can visit GitHub to download the same package.

What can I install with Winget?

There is no fixed list of applications that you can install using the Winget command line utility. However, you can install OneDrive, Google Chrome, Firefox, etc. without any problem. On the other hand, it is possible to update all installed programs at once using WINGET.

That’s all! I hope this guide has helped.

Lily: Bulk install Windows applications with the Winstall GUI for Windows Package Manager.

WinGet not recognized in Windows 11


Source link

Steven L. Nielsen