Skip to content

Instantly share code, notes, and snippets.

@philiph
Last active April 28, 2017 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philiph/c92b675c7efe4be2b8b99d23d9aa7fa1 to your computer and use it in GitHub Desktop.
Save philiph/c92b675c7efe4be2b8b99d23d9aa7fa1 to your computer and use it in GitHub Desktop.
Using asdf to manage elixir versions on OS X (assuming zsh shell)
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