Last active
April 28, 2017 13:22
-
-
Save philiph/c92b675c7efe4be2b8b99d23d9aa7fa1 to your computer and use it in GitHub Desktop.
Using asdf to manage elixir versions on OS X (assuming zsh shell)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.3.0 | |
echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.zshrc | |
echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.zshrc | |
# reload shell | |
asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git | |
asdf list elixir | |
asdf list-all elixir | |
asdf install elixir 1.2.6 | |
asdf install elixir 1.3.4 | |
asdf install elixir 1.4.2 | |
asdf global elixir 1.4.2 | |
cd ~/src/some_project | |
asdf local 1.3.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment