Created
July 23, 2017 06:41
-
-
Save KamilLelonek/b6a696a7454832d31f49b2d1eb4242d6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
erlang 19.3 | |
elixir 1.4.4 |
This file contains hidden or 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
#!/usr/bin/env bash | |
# Check for asdf and install in case it doesn't exist | |
if ! asdf | grep version | |
then | |
git clone https://github.com/asdf-vm/asdf.git $HOME/.asdf | |
fi | |
# Add Erlang and Elixir plugins | |
asdf plugin-add erlang https://github.com/asdf-vm/asdf-erlang.git | |
asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git | |
# Install plugins based on .tool-versions file | |
asdf install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment