Skip to content

About

Erlang/OTP vfox plugin. Use the vfox to manage multiple Erlang/OTP versions in Linux/Darwin MacOS, also Windows!!!

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Repository files navigation

logo

Lint Test Plugin License E2E E2E tests on Darwin MacOS E2E tests on Darwin MacOS (Prebuilt release) E2E tests on Darwin MacOS (mise) E2E tests on Linux (mise)

vfox-erlang plugin

中文 | English

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.

Quick start

# 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 -version

Linux 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.

Versions

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.

Platforms

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.

Use an Erlang/OTP already on the machine

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 version

vfox uninstall on a linked version only removes the link. See docs/link.md.

Usage with mise

mise use -g vfox:version-fox/vfox-erlang@26.2.3
mise exec -- erl -version

See docs/mise.md.

Documentation

Using the plugin

  • Versions: version names, searching, installing, switching scopes and branch versions
  • Building from source: dependencies, MAKEFLAGS, OTP_CONFIGURE_ARGS and DOC_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

Documentation website

中文 · English

The bilingual site is built from website/. See website/README.md for the local build.

License

Apache License 2.0. See LICENSE.

Copyright 2026 vfox-erlang contributors

Acknowledgements

About

Erlang/OTP vfox plugin. Use the vfox to manage multiple Erlang/OTP versions in Linux/Darwin MacOS, also Windows!!!

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages