Last active
May 30, 2016 14:21
-
-
Save tony612/85cfe3e2563d41855c35 to your computer and use it in GitHub Desktop.
install precompiled elixir(not including Erlang)
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
| #!/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