I've built plugins to support the following languages:
There is a super-simple API for supporting more languages.
Copy-paste the following into command line:
git clone https://github.com/HashNuke/asdf.git ~/.asdf
Depending on your OS, run the following
# For Ubuntu or other linux distros
echo 'source $HOME/.asdf/asdf.sh' >> ~/.bashrc
# OR for Max OSX
echo 'source $HOME/.asdf/asdf.sh' >> ~/.bash_profileIf you use zsh or any other shell, replace .bashrc with the config file for the respective shell.
For most plugins, it is good if you have installed the following packages OR their equivalent on you OS
- OS X: Install these via homebrew
automake autoconf openssl libyaml readline ncurses libxslt libtool unixodbc- Ubuntu:
automake autoconf libreadline-dev libncurses-dev libssl-dev libyaml-dev libxslt-dev libffi-dev libtool unixodbc-dev
That's all ~! You are ready to use asdf
Plugins are how asdf understands how to handle different packages.
asdf plugin-add <name> <git-url>
# asdf plugin-add erlang https://github.com/HashNuke/asdf-erlang.gitasdf plugin-remove <name>
# asdf plugin-remove erlangasdf plugin-update --allIf you want to update a specific package, just say so.
asdf plugin-update <name>
# asdf plugin-update erlangasdf install <name> <version>
# asdf install erlang 17.3
asdf uninstall <name> <version>
# asdf uninstall erlang 17.3asdf list <name>
# asdf list erlangasdf list-all <name>
# asdf list-all erlangasdf use <name> <version>
# asdf use erlang 17.5This will set the requested version of the package for the current terminal session.
Add a .tool-versions file to your project dir and versions of those packages will be used.
elixir 1.0.2
erlang 17.3
Me (@HashNuke), High-fever, cold, cough.
Copyright 2014 to the end of time
Read the ballad.