ScoopInstaller / Scoop

A command-line installer for Windows.
https://scoop.sh
Other
21.32k stars 1.41k forks source link

Uninstalling specific versions of one app #3733

Open LoZeno opened 5 years ago

LoZeno commented 5 years ago

Right now it's possible to install multiple versions of an app using scoop install <app>@<version>, and switch between the different versions with scoop reset <app>@<version>; I haven't found a way to _un_install a specific version yet, though.

For example, (I'll use terraform as an example as I did in previous issues), let's say I work in a team that's managing three different AWS projects where terraform is the tool we use for managing the infrastructure; Project1, the oldest one, requires terraform version 0.11.14, Project2 requires terraform 0.12.10 and Project3 requires terraform 0.12.13. I have all three version installed via scoop, and I can happily scoop reset between all of them as I need.

One day, we finally manage to upgrade Project1 so that it now uses terraform 0.12.13 instead of the very obsolete 0.11.14. Cool, so I don't need that version anymore! The problem is that scoop uninstall terraform uninstalls ALL the versions I have, I can't (for example) run scoop uninstall terraform@0.11.14 to remove only the one version I don't need anymore and keep the others.

I know that the simplest workaround is to delete the installation folder ~\scoop\apps\terraform\0.11.14\, and that's how I do it right now, but it would be much more convenient if the scoop uninstall command supported the <app>@<version> syntax

Skyppex commented 7 months ago

This is too important to have been forgotten for 4 years