Recommended installation of [Erlang/OTP](http://www.erlang.org) is binary packages from [Erlang Solutoins](https://www.erlang-solutions.com/downloads/download-erlang-otp). For source it is recommended you use [erln8](http://metadave.github.io/erln8/) or [kerl](https://github.com/yrashk/kerl).
### Dependencies
### Dependencies
To build rebar you will need a working installation of Erlang R13B03 (or later).
To build rebar you will need a working installation of Erlang R15 (or later).
Should you want to clone the rebar repository, you will also require git.
Should you want to clone the rebar repository, you will also require git.
#### Downloading
#### Downloading
You can download a pre-built binary version of rebar from:
You can download a pre-built binary version of rebar3 based on the last commit from:
https://github.com/rebar/rebar/wiki/rebar
https://s3.amazonaws.com/rebar3/rebar3
#### Building rebar
#### Building rebar
```sh
```sh
$ git clone git://github.com/rebar/rebar.git
$ git clone git://github.com/tsloughter/rebar.git
$ cd rebar
$ cd rebar
$ ./bootstrap/bootstrap
$ ./bootstrap/bootstrap
Recompile: src/getopt
...
Recompile: src/rebar_utils
==> rebar (compile)
==> rebar (compile)
Congratulations! You now have a self-contained script called "rebar" in
Congratulations! You now have a self-contained script called "rebar" in
your current working directory. Place this script anywhere in your path
your current working directory. Place this script anywhere in your path