Skip to content

Instantly share code, notes, and snippets.

@matthewoden
Last active September 3, 2017 14:58
Show Gist options
  • Save matthewoden/a713412f4c7447cfeb2e2c06864686e2 to your computer and use it in GitHub Desktop.
Save matthewoden/a713412f4c7447cfeb2e2c06864686e2 to your computer and use it in GitHub Desktop.
Instructions for setting up elixir and erlang without brew, and without compiling from source

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

  1. Download a precompiled version of Erlang from here.
  2. Run that thing.
  3. When complete, type erl in your terminal to test that erlang has been appropriately added to your path.

Setting up Elixir

  1. Download the precompiled zip from latest, unzip, rename the folder to elixir.
  2. Move the elixir folder to usr/local/: mv ~/downloads/elixir usr/local/ (or... just copy and paste)
  3. Add the elixir binary to your path: echo 'export PATH="/usr/local/elixir/bin:$PATH"' >> ~/.bash_profile
  4. get the latest bindings with source ~/.bash_profile, and test by typing elixir 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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment