LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

kerl

manages multiple Erlang/OTP installations

TLDR

List available releases
$ kerl list releases
copy
Build Erlang version
$ kerl build [26.0] [26.0-build]
copy
Install built version
$ kerl install [26.0-build] [~/.kerl/26.0]
copy
Activate installation
$ source ~/.kerl/26.0/activate
copy
List installations
$ kerl list installations
copy
Show status of builds and installations
$ kerl status
copy
Delete build
$ kerl delete build [26.0-build]
copy
Clean build artifacts
$ kerl cleanup [26.0-build]
copy

SYNOPSIS

kerl command [args]

DESCRIPTION

kerl manages multiple Erlang/OTP installations. It builds and installs different versions side by side.The tool handles compilation from source. Activation scripts set up the environment for each version.

PARAMETERS

list releases

Show available versions.
list builds
Show completed builds.
list installations
Show installed versions.
build VSN NAME
Build Erlang version.
install BUILD PATH
Install build to path.
delete TYPE NAME
Delete build or installation.
update releases
Fetch up-to-date list of available releases.
build-install VSN NAME PATH
Combine build and install in one step.
status
Print available builds and installations.
path [NAME]
Print path of active or named installation.
active
Print the currently active installation.
cleanup NAME
Remove compilation artifacts for a build.
deploy HOST DIR
Deploy installation to remote host via SSH.

CAVEATS

Builds from source, so build dependencies (gcc, make, ncurses-dev, libssl-dev, etc.) must be installed. Shell script tool — configure via $HOME/.kerlrc. Set KERL_INCLUDE_RELEASE_CANDIDATES=yes to include release candidates.

SEE ALSO

erl(1), asdf(1)

Copied to clipboard
Kai