Skip to content

Instantly share code, notes, and snippets.

@tony612
Last active May 30, 2016 14:21
Show Gist options
  • Select an option

  • Save tony612/85cfe3e2563d41855c35 to your computer and use it in GitHub Desktop.

Select an option

Save tony612/85cfe3e2563d41855c35 to your computer and use it in GitHub Desktop.
install precompiled elixir(not including Erlang)
#!/bin/sh
# Usage: install_elixir.sh 1.2.0-rc.1
wget https://github.com/elixir-lang/elixir/releases/download/v$1/Precompiled.zip -O ~/repo/pre-elixir/Precompiled.zip
rm -r ~/repo/pre-elixir/Precompiled
unzip -o ~/repo/pre-elixir/Precompiled.zip -d ~/repo/pre-elixir/Precompiled
# When installing precompiled elixir at the first time
# export PATH=$HOME/repo/pre-elixir/Precompiled/bin:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment