Skip to content

Request: --force flag to reinstall packages #2164

@mcandre

Description

@mcandre

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions