microsoft / microsoft/winget-cli
Portable packages should support side by side
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
Today if a user wants to switch between two different versions of a portable package they need to upgrade/downgrade (downgrade with -- force) between the two different packages. It would be very convenient if winget could support switching between two different versions of a portable package without (un)installing between the versions.
Specifically, there should be a way to switch which version of the package is registered on the PATH.
The lack of portable side by side packages was noticed with the Microsoft.Gaming.TAK.CLI.
Proposed technical implementation details
Preferably Winget would offer command line arguments to switch between two different portable package versions, updating the version on the PATH accordingly.
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 tracing the winget CLI entry points for portable-package registration and PATH updates. Define how command-line arguments would select between installed versions, using Microsoft.Gaming.TAK.CLI as the motivating case. Done means two portable versions can coexist and the selected version is registered on PATH without uninstalling either.
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
- 30/100