Erlang Language Rebar3 Installing Rebar3


Rebar3 is written in Erlang, so you need Erlang to run it. It is available as a binary that you can download and run. Just fetch the nightly build and give it execution permissions:

$ wget && chmod +x rebar3

Place this binary in a convenient place and add it to your path. For example, in a bin directory in your home:

$ mkdir ~/bin && mv rebar3 ~/bin
$ export PATH=~/bin:$PATH

This last line should be put in your .bashrc. As an alternative, one can also link the binary to /usr/local/bin directory, making it available as a normal command.

$ sudo ln -s /path/to/your/rebar3 /usr/local/bin