[erlang-questions] [ANN] erln8, a sneaky version manager for Erlang, Elixir and Rebar/Rebar3

Dave Parfitt diparfitt@REDACTED
Wed Jul 15 16:50:33 CEST 2015


Hello -

  erln8 is set of tools that let you build and then set versions of Erlang,
Elixir, Rebar and Rebar3 per directory. While an older version of erln8 has been
around for a couple years, the latest rewrite *beta* now has Elixir
support. Note,
that as it's still a beta, there might be a couple rough spots here
and there. Friendly
pull requests welcome.

Here's an example of building the latest version of Erlang + Rebar,
and then setting
versions to use in multiple directories:

# build the latest tagged version of Erlang (OTP-18.0.2 at the time of writing)
erln8 --build-latest

# build OTP_R16B03-1
erln8 --build OTP_R16B03-1

# build the latest tagged version of Rebar
reo --build-latest

cd ~/some/project
erln8 --use OTP-18.0.2
# any calls to erlang commands in this directory will be for OTP-18.0.2

cd ~/some/other/project
erln8 --use OTP_R16B03-1
# any calls to erlang commands in this directory will be for OTP_R16B03-1

You can download erln8 source, docs and prebuilt binaries here:
http://erln8.github.io/erln8/


Cheers -
Dave
https://github.com/metadave



More information about the erlang-questions mailing list