winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

Portable packages should support side by side

Open MattHyman opened this issue 1 year ago • 0 comments

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.

MattHyman avatar Aug 27 '24 02:08 MattHyman