Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home » Windows

Winget is Not Recognized On Windows—3 Ways to Fix It

Bishwo TamliBy Bishwo TamliJune 28, 2023
Winget Not Working

The Winget command line lets users manage existing applications and install new ones from a command-line interface in Windows 10 and 11. However, this command line can sometimes not work and show the error message “Winget is not recognized.”

This error usually appears due to reasons like outdated packet manager, missing path environment variable, or disabled Windows packet manager client. Furthermore, you will also get this error on older Windows 10 as the Winget packet manager is not installed by default.

Update App Installer

The Winget package manager comes as a part of the App Installer software on Windows. If you’re running an outdated version of the App Installer, you can get the “Winget is not recognized” error. So, you can try updating the App Installer to fix this issue.

  1. Click on the Start menu and select All apps.
  2. Locate Microsoft Store and click on it.
    microsoft store
  3. In Microsoft Store, select the search bar, and search for App Installer.
    search app installer in microsoft store
  4. Click on the App installer.
  5. If an update is available, it should show an Update button. Click on it.
    update app installer
  6. If you don’t have App Installer on your Windows, it should show an Install button. Click on it to directly download the latest version of the App installer.
  7. If there is no button beside App Installer, then you’re running the latest version of it.

If you can’t update App Installer from the Microsoft Store, you can manually do so by downloading it from the Github repository. To download the update, click on the latest version name on the top, and download the update file from the assets section at the bottom.

After the setup file downloads, simply run it to update or install Microsoft Winget on your computer.

Enable Windows Package Manager Client

An app execution alias is the declared name for a specific app that can be used to run it from a command line interface. The term Winget is the app execution alias for the Windows packet manager client.

So, if the Windows package manager client is disabled in the app execution alias, the term Winget will not be associated with the Winget package manager. This will result in the error “Winget is not recognized.” Here’s how you can enable it back.

  1. Press Windows + I shortcut key to open Settings.
  2. Select Apps from the left sidebar, and click on Advanced app settings.
    advanced app settings
  3. Click on App execution aliases.
    windows settings app execution alias
  4. Make sure Windows Packet Manager Client is toggled on.
    toggle on windows package manager client

Manually Enter the Path Environment Variable

Whenever you run the Winget command line, it will locate the winget.exe file using the path environment variable. If your path environment variable hasn’t been created or accidentally deleted, the Winget command won’t be able to locate winget.exe, and it will result in this error.

So, let’s see how you can manually create the path environment variable and fix this error.

  1. Open Run utility by pressing Windows + R shortcut key.
  2. Type systempropertiesadvanced and press Enter.
    systempropertiesadvanced
  3. Click on Environment Variables.
    environment variables
  4. If there is the Path variable name under Variable, follow the steps below:
    • Select Path and click on Edit.
      environment variables edit path
    • Click on New and type %UserProfile%\AppData\Local\Microsoft\WindowsApps in the empty text field.
      add new environment variable
    • Press Enter.
    • Click Ok and Ok again.
  5. If you don’t see the Path variable name under Variable, follow the steps below:
    • Click on New.
      new user variable
    • Enter Path in the Variable name, and enter %UserProfile%\AppData\Local\Microsoft\WindowsApps; in the Variable value.
      new path user variable
    • Click on OK.
    • Press OK and OK again.
  6. Restart your computer.
how-to
Bishwo Tamli

I'm a tech enthusiast, and I've always been troubleshooting errors by myself for years. I also like keeping up to date with the latest technology and gadgets.

Related Posts

how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 22, 2023
what happens if you turn off your computer during an update

What Happens if You Turn Off Your Computer During an Update?

September 18, 2023
How to Disable Integrated Graphics

How to Disable Integrated Graphics?

September 16, 2023
System Restore Stuck

How To Fix Windows Stuck on System Restore

September 16, 2023
startup-repair-couldn't-repair-your-pc

How To Fix “Startup Repair Couldn’t Repair Your PC”

September 13, 2023
how to free up ram

How to Free Up Memory

August 4, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 22, 2023
motherboard chipset

Understanding Motherboard Chipset and Its Importance

September 20, 2023
Naval-Warfare-Games

Best Naval Warfare Games

September 18, 2023
You may also like
printer-not-printing

How to Fix a Printer That’s Not Printing

September 26, 2023
Share Location With Friends and Family

Share Location With Friends and Family (iPhone and Android)

September 18, 2023
how-to-print-without-a-printer

How to Print Without a Printer

September 18, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.