asdf icon indicating copy to clipboard operation
asdf copied to clipboard

Request: --force flag to reinstall packages

Open mcandre opened this issue 5 months ago • 0 comments

Is your feature request related to a problem? Please describe

It's inconvenient to have to manually uninstall then reinstall as two separate commands. This relates to the complexity of many ASDF programming language plugins, as well as ASDF entering states of data corruption when components silently fail to install correctly.

Describe the proposed solution

For convenience, would be really useful to provide a --force flag to trigger uninstall followed by reinstall.

Describe similar asdf features and why they are not sufficient

asdf uninstall with asdf install is cumbersome.

Also, a single command tends to integrate better in larger shell scripts than multiple commands. There is no truly portable syntax to express the AND conjunection of two commands (not all shell interpreters are POSIX compliant).

Describe other workarounds you've considered

Bypassing ASDF and installing software development components directly.

mcandre avatar Aug 18 '25 02:08 mcandre