Skip to content

Instantly share code, notes, and snippets.

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 AndyDangerous/0401ea7548c3dab56b1368ff1fd47c90 to your computer and use it in GitHub Desktop.
Save AndyDangerous/0401ea7548c3dab56b1368ff1fd47c90 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
set -ex
sudo apt update
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.6.1
echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.bashrc
echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.bashrc
source $HOME/.bashrc
sudo apt install automake autoconf libreadline-dev libncurses-dev libssl-dev libyaml-dev libxslt-dev libffi-dev libtool unixodbc-dev -y
asdf plugin-add erlang https://github.com/asdf-vm/asdf-erlang.git
asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git
sudo apt install build-essential autoconf m4 libncurses5-dev libwxgtk3.0-dev libgl1-mesa-dev libglu1-mesa-dev libssh-dev unixodbc-dev xsltproc fop -y
asdf install erlang 21.1
asdf global erlang 21.1
asdf install elixir 1.7.4
asdf global elixir 1.7.4
echo "all done!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment