-
Notifications
You must be signed in to change notification settings - Fork 830
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
I want ot be able to just quick install program like in a packagemanager with a single command insted of plugin add then install then add to global #1616
Comments
I agree with @yodatak. Simplifying the installation process for tools in asdf would be a significant improvement. It's essential to have a more streamlined way to add plugins and install them globally or locally. Your proposed solution looks pretty reasonable. The idea of introducing a command like
Additionally, your suggestion of using a YAML file as a list to install multiple tools at once is a great idea. This would be a fantastic feature for users who need to set up multiple tools quickly. I also appreciate you pointing out the limitations of the current Your proposed changes would certainly make asdf more user-friendly and efficient. I hope the maintainers of asdf consider implementing these improvements. Thank you for bringing this issue to their attention! |
The use of a YAML file is a non-starter since it's almost impossible to parse in Bash (or it would needlessly require an external dependency). #829 (and #240) is a related issue, to specify a I generally agree with your points, the asdf team should consider fixing issues that would significantly enhance the developer experience. |
@yodatak And in the future, please properly format your text. The way you combine the CLI, its output, and normal text makes it extremely difficult to read. If it were up to me, your issue would have been closed due to lack of effort (not to mention the typo and the verboseness of the title). I'm letting you know so you don't make the same mistake for other repositories. |
Is your feature request related to a problem? Please describe
I have a lot of tool to install so i wan to be able to have a cli simple instead of
asdf plugin add $tooltoinstall && asdf install $tooltoinstall latest && asdf global $tooltoinstall latest
and when i try asdf on first run i want to be able to just asdf install programname and by default it add or propose to add the plugin and make it local or global by default.
Describe the proposed solution
I want to be able to have some command like
asdf install just --global --pluginadd
or somethink like this by default
asdf install just
(it seak if a plugin exist localy and then if not check remote and propose to add with y/n question if no --addplugin is )
then it install by default localy or global ? ( by default its global if you don't set --local by exemple)
and it installed just the plugin and it make it globaly in the file
or take a file in yaml format as list to install
Describe similar
asdf
features and why they are not sufficientwith asdf latest --all we can show the missing but no command to install them all
when i do this
asdf plugin add $tooltoinstall && asdf install $tooltoinstall latest && asdf global $tooltoinstall latest
sometimes it don't do the full command and the asdf global just latest don't echo anything so imposible to know what if its good or not
Describe other workarounds you've considered
i describe in previous comment
The text was updated successfully, but these errors were encountered: