Itching to write Elixir? Are you not allowed, don't want to use homebrew? Too lazy to compile from source? Here's step-by step instructions to get Elixir and Erlang up and running on your mac, using precompiled binaries.
- Download a precompiled version of Erlang from here.
- Run that thing.
- When complete, type
erl
in your terminal to test that erlang has been appropriately added to your path.
- Download the precompiled zip from latest, unzip, rename the folder to elixir.
- Move the elixir folder to
usr/local/
:mv ~/downloads/elixir usr/local/
(or... just copy and paste) - Add the elixir binary to your path:
echo 'export PATH="/usr/local/elixir/bin:$PATH"' >> ~/.bash_profile
- get the latest bindings with
source ~/.bash_profile
, and test by typingelixir
in your terminal.
And that's it! Happy coding!
(Tested on OS X El Capitan. By tested, I mean I did this last night on my machine.)