Last active
December 13, 2018 22:11
-
-
Save selfup/4230b6de4dceaa9e3f70e5ceb0b063f4 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
#!/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