Building Erlang from source and using it with direnv
10 Jan 2023 11:25
Building and installing Erlang is almost compatible with my use erlang
rule for direnv. Here’s how to bodge it.
Building and installing Erlang is almost compatible with my use erlang
rule for direnv. Here’s how to bodge it.
To integrate direnv
with kerl
, add the following to ~/.direnvrc
:
If kerl list installations
is displaying Erlang installations that you
deleted ages ago, and you’ve got all of your installations in
~/.kerl/erlangs/
, you can rebuild the list by running the following command:
kerl
allows you to easily build and install multiple Erlang/OTP releases.
It’s kinda like nvm
or rvm
, but for Erlang. It doesn’t do everything, and
that’s what direnv
is for. direnv
allows you to run commands upon entering
or leaving a particular directory.