Created
April 1, 2017 02:18
-
-
Save zzak/a765d6a63860d75c4444e35f57daed13 to your computer and use it in GitHub Desktop.
This file contains 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
wget https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc | |
sudo apt-key add erlang_solutions.asc | |
sudo apt-add-repository "https://packages.erlang-solutions.com/ubuntu yaketty contrib" | |
sudo apt-get update | |
sudo apt-get install erlang | |
open https://github.com/elixir-lang/elixir/releases/latest | |
wget https://github.com/elixir-lang/elixir/releases/download/v1.4.2/Precompiled.zip | |
unzip Precompiled.zip -d elixir | |
mv elixir ~/.bin/elixir | |
### Add ~/.bin to PATH | |
echo 'export PATH="${HOME}/.bin:$PATH"' >> ~/.bashrc | |
### Add elixir/bin to PATH | |
echo 'export PATH="$HOME/.bin/elixir/bin:$PATH"' >> ~/.bashrc | |
source ~/.bashrc | |
``` | |
Erlang/OTP 19 [erts-8.3] [source] [64-bit] [smp:8:8] [async-threads:10] [kernel-poll:false] | |
Elixir 1.4.2 | |
``` | |
wget https://s3.amazonaws.com/rebar3/rebar | |
chmod +x rebar3 | |
mv rebar3 ~/.bin/. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment