kerl : Tool for Erlang/OTP version management
Like rvm for Ruby and virtualenv for Python we have now kerl for Erlang/OTP. kerl allows to install and manage multiple OTP versions. kerl is written as a shell script and does not depend on Erlang.
The Github Repo is https://github.com/yrashk/kerl
- Installing kerl
$ cd /usr/local/bin $ sudo curl -O https://raw.githubusercontent.com/yrashk/kerl/master/kerl $ sudo chmod a+x kerl
- List available releases
$ kerl list releases
- Update list of available releases
$ kerl update releases
- Build a release
$ kerl build 17.0 myotp_17_0
- Listing available builds
$ kerl list builds
- Installing a build
$ mkdir -p /home/me/my_otp_installations/17_0 $ kerl install myotp_17_0 /home/me/my_otp_installations/17_0
- Listing installations
$ kerl list installations
- Use/activate a version of OTP
$ source /path/to/installation/dir/activate $ # Example $ source /home/me/my_otp_installations/17_0/activate
- Deactivate/stop using for now, a version of OTP
$ kerl_deactivate
- Find out which OTP version is active
$ kerl active
- Get details kerl installation
$ kerl status
- Delete a build
$ kerl delete build myotp_17_0