microsoft / microsoft/winget-cli
Make "winget rm" able to uninstall any MS Store app by ID, even those not in the msstore repo source.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Relevant area(s)
WinGet CLI
Description of the new feature / enhancement
So, I learned recently that Winget is able to uninstall Microsoft Store apps even if they were not installed through winget install; i.e. they were shown as MSIX\(...) when running winget list.
winget rm 9nzbf4gt040csuccessfully uninstall the Bing app.winget rm xp8bt8dw290mpqsuccessfully uninstalls Start Experiences App.winget rm 9wzdncrfhwd2fails at uninstalling the Solitaire & Casual Games app, since the ID9wzdncrfhwd2is not in the msstore repo's data. This is the part that could need improvement.
Proposed technical implementation details
Make winget rm able to detect the IDs of any Microsoft Store apps, for the specific purpose of finding ID-to-app matches for uninstallations.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the WinGet CLI entry points for winget rm and its existing Microsoft Store ID resolution, then compare that path with the winget list results showing MSIX\(...) apps. The change is complete when IDs such as 9wzdncrfhwd2 can resolve and uninstall Store apps outside the msstore source without regressing existing removals.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100