Erlang version manager - A basic CLI tool for managing multiple Erlang versions.
e is a lightweight Erlang version manager that allows you to install and switch between different versions of Erlang/OTP on your system.
Build the escript:
rebar3 escriptizeThe executable will be created at _build/default/bin/e.
To make e available system-wide, copy the built executable to a directory in your PATH:
sudo cp _build/default/bin/e /usr/local/bin/Or add the build directory to your PATH:
export PATH=$PATH:/path/to/e/_build/default/bine listShows all installed Erlang versions. The currently active version is marked with *.
e install <version>Example:
e install 26.2.1Note: This basic implementation creates a placeholder installation. In a production version manager, this would download and compile Erlang from source.
e use <version>Example:
e use 26.2.1Sets the specified version as the current active version.
e currentDisplays the currently active Erlang version.
e uninstall <version>Example:
e uninstall 25.3Removes an installed version. You cannot uninstall the currently active version.
e helpShows usage information and available commands.
Run the test suite:
rebar3 eunite stores installed Erlang versions in ~/.e/versions/ and tracks the current version in ~/.e/current.
- Actual Erlang source download and compilation
- Pre-built binary downloads
- Shell integration for automatic PATH management
- Version aliases (e.g.,
stable,latest) - List available versions from erlang.org
- Parallel compilation support