Skip to content

Instantly share code, notes, and snippets.

@KamilLelonek
Created July 23, 2017 06:41
Show Gist options
  • Save KamilLelonek/b6a696a7454832d31f49b2d1eb4242d6 to your computer and use it in GitHub Desktop.
Save KamilLelonek/b6a696a7454832d31f49b2d1eb4242d6 to your computer and use it in GitHub Desktop.
erlang 19.3
elixir 1.4.4
#!/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