mage plugin for the asdf version manager.
This plugin depends on common POSIX utilities (awk, grep, sed, etc.), Bash, Git, and Go. If you have a Go toolchain installed and selected via asdf (asdf current golang), it will be used to retrieve and build mage. Otherwise, asdf will be used to retrieve the latest Go version and that will be used for the build.
Plugin:
asdf plugin add mage https://github.com/dylanrayboss/asdf-mage.git
mage:
# Show all installable versions
asdf list-all mage
# Install specific version
asdf install mage latest
# Set a version globally (on your ~/.tool-versions file)
asdf global mage latest
# Now mage commands are available
mage --version
Check asdf readme for more instructions on how to install & manage versions.
Contributions of any kind welcome! See the contributing guide.