Skip to content

Instantly share code, notes, and snippets.

@evax
evax / install_ex.sh
Last active May 11, 2016 06:00 — forked from jimsynz/install_ex.sh
I use this to install Elixir on Codeship.
#!/bin/sh
# Forked from https://gist.github.com/jamesotron/44f8962cddef781ab830
# wget https://gist.githubusercontent.com/evax/493c134b7c6711b499f0/raw/6d4aaf11b9f041cd77bc273691579d0fe7f72c9c/install_ex.sh
# . ~/install_ex.sh
# You can override your Elixir and Erlang versions from your shell when you call ./install_ex.sh.
ERLANG_VERSION=${ERLANG_VERSION:-18.3}
ELIXIR_VERSION=${ELIXIR_VERSION:-1.2.3}