-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
This page contains instructions on how to install ExMake on various operating systems.
Note that ExMake currently requires Erlang R16B+ and Elixir 0.10.2+.
The easiest way to get started on Windows is to install an official Erlang binary and grab the latest released ExMake binary and .bat file. Note that you don't need the .bat file if you're going to run ExMake from Cygwin or MinGW; it's purely for running ExMake smoothly in cmd.exe.
Alternatively, if you wish to build ExMake from source or you plan to use Elixir for other things, installing Erlang and Elixir from Chocolatey may make more sense. In this case, the packages you need are:
To install them, run:
C:\> choco install erlang
C:\> choco install Elixir
Regardless of the installation method you use, make sure that Erlang's bin directory is in your PATH variable. Then place the ExMake binary and .bat file alongside each other anywhere you want, and it should just work.
One way to get started on OS X is to install an Erlang package from Erlang Solutions. After doing that, you can grab an ExMake binary and get started right away.
Alternatively, there are several package managers on OS X that can be used to install Erlang (and optionally Elixir). In this guide, we'll use Homebrew as it is the most accessible. The packages needed are:
To install Erlang, run:
$ brew install erlang
You can optionally install Elixir now. ExMake binaries ship with it, so this is only necessary if you wish to use it for other things:
$ brew install elixir
You can now place an ExMake binary somewhere and it should work.
Most Linux distributions have Erlang available in their package management system. For example, on Debian (and derivatives), you can install Erlang like so:
$ sudo apt-get install erlang
Alternatively, you can grab an Erlang Solutions package for your particular distribution.
For other Unix systems, you will have to check your package management system or build Erlang from source.
As Elixir is not yet widely available in Unix package management systems, you will probably have to build it from source. Just grab a package of the particular tag you want (e.g. v0.15.0) and follow the instructions in README.md. Note that this step is only required if you plan to use Elixir for other things than ExMake itself; released ExMake binaries ship with Elixir embedded.
Finally, just grab the latest ExMake binary and put it somewhere on your machine. You should be good to go.