microsoft / microsoft/winget-cli

winget stops working/"'winget' is not recognized as an internal or external command, operable program or batch file."

Open
#3,507 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Brief description of your issue

A few days ago winget stoped to work.

Steps to reproduce

open cmd and run winget

Expected behavior

winget is working

Actual behavior

"'winget' is not recognized as an internal or external command, operable program or batch file."

Environment
windows 11 22h2 22621.1992

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is identified. Reproduce the failure by opening cmd and running winget on Windows 11 22H2 build 22621.1992, then investigate why the command is unavailable; done means winget runs instead of producing the reported “not recognized” error.

Written by the indexing model from the issue text.

Assessment

Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.