Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

How to Fix Winget Does not Work in Windows

August 8, 2023
in Blog, WinGet
0
ADVERTISEMENT

Table of Contents

Winget does not work in Windows

Windows Package Manager (or winget) is a latest package manager for Windows (just like apt and dnf in Linux) that only works in the modern version of Windows 10 1809 (build 17763) or Windows 11. To use winget, make sure you install it using Microsoft Store app. Search for App Installer and make sure it is installed.

ATy2KAFSZdgJR534Zd9iwqPogOVzNBh2DprY2Crn094INXpZJ1edfKB3yMW2

If you still get the term Winget is not recognized as the name of a cmdlet, function, script file, or operable program error as shown in the screenshot.

f9ffyVNyqUtctjkI38JCvOIUZeH87t9MLJDESK1dV9W3vKP5fYXfMqroMI70

If you’re getting the error as shown in the screenshot, follow these steps:

1️⃣ Make sure you have installed the winget package on your system.

2️⃣ Search then open the system environment variables..

VRZyqB24XeMC1wBPiPvBVajMFeWWl8zOSTTHKEGQX9mEuelhZZwKdbQWoKXU

3️⃣ Now click on Environment Variables button.

O3Ky262feL4Brqz4j67G6yT8R50d0cwDl2yOEHoc4Kub3bwxB8d2VWkT22aF

4️⃣ Under User Variables section, double click Path variable to edit it.

ruGa6mm6VD7aBrOrqdDWIifiu7wDqqJPOgAGmUbdDw1qGzq8ngbJ4q73Nv5B

5️⃣ Now click New button and paste the following line and click OK.

%UserProfile%\AppData\Local\Microsoft\WindowsApps
9wspi6ow5h9RNalP78iZyYKkzfitzFLIj2jGuVYAKXfDZOw58RCPreZC6UZi

Click OK once again. Now close the current PowerShell console or command prompt and try running winget again. It should now work without any error.

H7WxHV1CjNyDrP1EtmDV401OT5XEtW3NYHFuy7zDGQUxpYWWyWXhu5OPEiY8

Update winget on Windows

If the error still persistent after do above steps. You can try to update App Installer and all its dependencies packages using the following PowerShell command:

irm https://bonguides.com/winget | iex
#Output

PS C:\Windows\system32> irm https://bonguides.com/winget | iex

Installing Nuget...

Installing Windows Package Manager...

Installed packages:

DisplayName                   Version
-----------                   -------
Microsoft.DesktopAppInstaller 2023.707.2257.0

Restart your computer then Windows Package Manager should be worked without any issue.

5/5 - (1 vote)
Previous Post

How to Enable or Install Microsoft Store on Windows 10 LTSC 2021

Next Post

PowerShell Learning: Getting Started with Windows PowerShell

Related Posts

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024
Ftr19

How to Fix Windows Cannot Read the ProductKey From the Unattend Answer File in VirtualBox

July 26, 2024
Ftr25

How to Update Windows Terminal in Windows 10/11

July 26, 2024

How to Disable The Beep Sound in WSL Terminal on Windows

July 26, 2024

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory