An Erlang/OTP plugin for vfox. It installs and switches between several Erlang/OTP versions on Linux, macOS and Windows: from source, from prebuilt releases, or by linking an Erlang/OTP that is already on the machine.
# 1. Add the plugin
vfox add erlang
# 2. Find a version and install it
vfox search erlang
vfox install erlang@26.2.3
# 3. Use it globally and check it
eval "$(vfox activate bash)"
vfox use -g erlang@26.2.3
erl -versionLinux and macOS build from source by default, so install the build dependencies first, see docs/source-build.md. For prebuilt releases see docs/prebuilt.md; on Windows see docs/windows.md.
Activation has to run once in each new shell, or be added to ~/.bashrc, because vfox use depends on it. For other shells, see the vfox quick start.
| Kind | Examples | Where |
|---|---|---|
| Release | 26.2.3 |
Linux and macOS (source or prebuilt), Windows |
| Windows release | 25.3.2.12 |
Windows, the four-part numbers of the Windows installers |
| Branch or maintenance | master, maint-27 |
Linux and macOS (source or prebuilt), not Windows |
Prebuilt branch names on macOS end in -latest, for example maint-27-latest and master-latest.
See docs/versions.md for searching, installing, switching scopes and branch versions.
| Platform | Default | Alternative | Guides |
|---|---|---|---|
| Linux | Source build | Prebuilt, USE_PREBUILT_OTP=ubuntu-22.04 |
source build, prebuilt |
| macOS | Source build | Prebuilt, USE_PREBUILT_OTP=true |
source build, prebuilt |
| Windows | Official installer | None | Windows |
Source builds install the EEP-48 documentation chunks, so h(lists). works in the Erlang shell.
If Erlang/OTP is already installed, from a distribution package, Homebrew, make install, asdf, mise or the Windows installer, vfox can use it instead of building another copy. This needs vfox 1.1.0 or later.
vfox link --detect erlang # choose which installations to link
vfox link --detect -y erlang # link all of them
eval "$(vfox activate bash)"
vfox use -g erlang@26.2.3 # a linked version is named after its OTP versionvfox uninstall on a linked version only removes the link. See docs/link.md.
mise use -g vfox:version-fox/vfox-erlang@26.2.3
mise exec -- erl -versionSee docs/mise.md.
Using the plugin
- Versions: version names, searching, installing, switching scopes and branch versions
- Building from source: dependencies,
MAKEFLAGS,OTP_CONFIGURE_ARGSandDOC_TARGETS - Prebuilt releases: Linux (Bob) and macOS (erlef/otp_builds) prebuilt installs and
USE_PREBUILT_OTP - Windows: the official installer and PowerShell activation
- Linking installed Erlang/OTP: using an Erlang/OTP that is already on the machine
- mise: using the plugin through the vfox backend of mise
- Troubleshooting: common failures and the commands that diagnose them
- Changes: what changed in each release
Working on the plugin
- Development: how the hooks work, the file layout, checks, website and release
- E2E tests: what each end-to-end suite covers and how to run the Linux suite locally
The bilingual site is built from website/. See website/README.md for the local build.
Apache License 2.0. See LICENSE.
Copyright 2026 vfox-erlang contributors
- Erlang/OTP, the source of every release
- hexpm/bob, which builds the Linux prebuilt packages on builds.hex.pm
- erlef/otp_builds, which provides the macOS prebuilt packages
- vfox, the version manager this plugin runs on
