Skip to content

Instantly share code, notes, and snippets.

@samrose
Forked from tfrisk-old/gist:11286970
Last active August 29, 2015 14:10
Show Gist options
  • Save samrose/adf342c3f7fec54760c0 to your computer and use it in GitHub Desktop.
Save samrose/adf342c3f7fec54760c0 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Debian has older Erlang package (R15) in official repositories, Elixir requires newer (R17)
wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
sudo apt-get update
sudo apt-get install -y erlang
rm erlang-solutions_1.0_all.deb
# compile Elixir from source
# http://elixir-lang.org/getting_started/1.html
git clone https://github.com/elixir-lang/elixir.git
cd elixir
git checkout stable
make clean test
# don't forget to add binary directory to PATH
@kotedo
Copy link

kotedo commented Nov 21, 2014

Add to line 17:
make install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment