Setting up Erlang and Elixir from precompiled binaries.
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.
Setting up Erlang
- Download a precompiled version of Erlang from here.
- Run that thing.
- When complete, type
erlin your terminal to test that erlang has been appropriately added to your path.
Setting up Elixir
- Download the precompiled zip from latest, unzip, rename the folder to elixir.
- Move the elixir folder to
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 typing
elixirin 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.)