microsoft / microsoft/winget-cli
Improvements to uninstall (multiple versions)
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Description of the new feature / enhancement
I would like to be able to uninstall multiple versions of an application.
Something like:
winget uninstall <packageIdentifier> --all
I would like to be able to keep the latest version of an application when multiple versions are installed.
winget uninstall <packageIdentifier> --keep-latest
This was motivated by:
- #2260
Proposed technical implementation details
No response
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 by reviewing the existing winget uninstall command handling and the related issue #2260. Determine how multiple installed versions and the latest version should be selected. Done means supporting the proposed --all and --keep-latest behaviors with appropriate validation and tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100