- Matthew Oden Potter
Itching to write Elixir? Are you not allowed, or 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 the 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
- Update your terminal session with the latest bindings
- test by typing
elixirin your terminal.
And that's it! Happy coding!
(Tested on OS X El Capitan)
Note: This post was migrated from a gist. https://gist.github.com/matthewoden/a713412f4c7447cfeb2e2c06864686e2