auto plugin for the asdf version manager.
Autoinstall asdf
plugins and tools
Add optional plugin configuration in suffix comments:
# <git_url> [<git_ref>]
crystal 1.11.1 # https://github.com/farkasmate/asdf-crystal.git arm64
Install plugins and tools:
asdf auto
It provides a stop-gap solution until we get first party plugin versioning support with asdf
:
- It's a potential security risk if you run it on a malicious
.tool-versions
file- The potential is higher than just simply using
asdf
- It WILL install whatever is configured in the version file
- The potential is higher than just simply using
- Call
asdf
commands on your behalf - Mixes tool versions installed from different plugin versions
jq 1.5
would install version1.5
from https://github.com/lsanwick/asdf-jqjq 1.6 # https://github.com/bonzofenix/asdf-jq.git
would install from a fork
- Doesn't reinstall already installed versions (even if a different version of the plugin installed the it)
jq 1.6
would not reinstalljq
using the original repo if it's already installed by the fork- asdf-vm/asdf#859
- asdf-vm/asdf#244
- It's similar but not the same as asdf-plugin-manager
- You should check it out, it might do what you need
asdf
,bash
and POSIX utilities.
Plugin:
asdf plugin add auto https://github.com/farkasmate/asdf-auto.git
auto:
# Show all installable versions
asdf list-all auto
# Install specific version
asdf install auto latest
# Set a version globally (on your ~/.tool-versions file)
asdf global auto latest
# Now auto commands are available
asdf help auto
Check asdf readme for more instructions on how to install & manage versions.
Contributions of any kind welcome! See the contributing guide.
Thanks goes to these contributors!
See LICENSE © Mate Farkas