Skip to content

ysthakur/asdf-amm

Repository files navigation

asdf-amm Build Lint

Ammonite plugin for the asdf version manager.

Why use this?

The official instructions for installing Ammonite involve downloading the executable for your desired version into a folder like /usr/local/bin, but this means you can only have one version of Ammonite accessible at a time, and both installation and updating are a bit annoying. asdf lets you install multiple versions of tools such as Ammonite at a time, and you can switch between them automatically, in case you need different Ammonite versions in different projects.

Contents

Dependencies

  • bash, curl, grep, awk, sed: generic POSIX utilities.

Install

Plugin:

asdf plugin add amm
# or
asdf plugin add amm https://github.com/ysthakur/asdf-amm.git

Ammonite:

# Show all installable versions
asdf list-all amm

# Install specific version
asdf install amm latest

# Set a version globally (on your ~/.tool-versions file)
asdf global amm latest

# Now Ammonite commands are available
amm --version

Check asdf readme for more instructions on how to install & manage versions.

Contributing

Contributions of any kind welcome! See CONTRIBUTING.md.

License

See LICENSE © ysthakur