Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install should have --local and --global optional flags #1745

Open
andrewduss opened this issue Apr 15, 2024 · 0 comments
Open

Install should have --local and --global optional flags #1745

andrewduss opened this issue Apr 15, 2024 · 0 comments

Comments

@andrewduss
Copy link

Is your feature request related to a problem? Please describe

[I'm always frustrated when] installing a new addon and have to run asdf install <plugin> <version> and asdf global <plugin> <version>

Describe the proposed solution

[I would like to see] an optional --local and --global flag added to the asdf install command which will automatically set the local or global versions for the selected tool.

For example: asdf install --global golang 1.19.1 would Install golang 1.19.1 and set it as the global default.
asdf install --local ruby 2.6.4 would install ruby 2.6.4 and set the local tool-versions file to use that version.

Describe similar asdf features and why they are not sufficient

ASDF currently has all these functions, but this change would make it easier to use.

Describe other workarounds you've considered

Run both asdf install ... and asdf global/local ...commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant