Skip to content
David Whitlock edited this page Oct 16, 2015 · 19 revisions

Elixir version 1.0 or later and Erlang/OTP version 17.0 or later.

You also need to have a C compiler, such as gcc, installed. For more information about installing the C dependencies, please read the directions below for the operating system you are using.

Linux

Ubuntu / Debian

We recommend downloading Erlang from erlang solutions, as the version of Erlang in the Ubuntu repositories is usually quite old.

Make sure you have the build-essential package installed. Also erlang-dev may be needed if you have installed Erlang from the Ubuntu repositories.

Mac OS X

You need to have gcc and make installed. Try running the commands gcc --version and / or make --version. If these programs are not installed, you will be prompted to install them.

If you are using El Capitan, you also need to deactivate the new rootless mode by running the following commands:

sudo nvram boot-args="rootless=0"; osascript -e 'tell app "loginwindow" to «event aevtrrst»'
sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2

Windows

One option is to install a recent version of Visual Studio (the free Community edition will be enough for this task). Then try running mix deps.compile comeonin from the Developer Command Prompt.

If you are using 64-bit erlang, you might need to run the command vcvarsall.bat amd64 before running mix deps.compile. Further information can be found at (https://msdn.microsoft.com/en-us/library/x4d2c09s.aspx).