OPEN SOURCE · LIGHTWEIGHT · CROSS-PLATFORM

Every OTP version.
Ready for your BEAM.

Install Erlang/OTP with vfox or mise. Use Unix source builds, Windows installers, or prebuilt options for Ubuntu and macOS.

Plugin minimum: vfox 0.3.0. Use current vfox for the commands in this guide.

ERLANG/OTP / ENVIRONMENTv1.2.0
01 / Erlang/OTP26.2.3
Ready for your next run.
~/my-projectbash
$ vfox install erlang@26.2.3
$ vfox exec erlang@26.2.3 -- erl -version
LinuxmacOSWindowsvfoxmise
[ 01 ]

Build OTP for your environment

Unix installations build from source by default. Adjust configuration with OTP_CONFIGURE_ARGS.

[ 02 ]

Prebuilt options, too

Ubuntu uses builds for the selected distribution; macOS uses erlef/otp_builds.

[ 03 ]

A foundation for Erlang and Elixir

Pin Erlang/OTP with vfox or mise, then choose a compatible Elixir version.

01 / GET STARTED

A few commands. Then you’re in.

Check the platform requirements, then choose your version manager. The examples pin a version; search to find other available releases.

01 Add the plugin and dependencies
vfox add --source https://github.com/version-fox/vfox-erlang/archive/refs/heads/main.zip erlang
02 Install a version
vfox install erlang@26.2.3
03 Run and verify
vfox exec erlang@26.2.3 -- erl -version
01 Prepare the environment
mise ls-remote vfox:version-fox/vfox-erlang
02 Install and select a version
mise use -g vfox:version-fox/vfox-erlang@26.2.3
03 Run in the selected environment
mise exec -- erl -version

02 / EVERYDAY DEVELOPMENT

From the first install to your daily run.

Keep the version with the project

Initialize vfox in Bash and select the project version. With mise, use mise use to select a version for the current project.

Bash
eval "$(vfox activate bash)"
vfox use -p erlang@26.2.3
vfox exec erlang -- erl -version

Control the source build

MAKEFLAGS controls parallelism; OTP_CONFIGURE_ARGS is passed to OTP configuration. Use build options supported by the target OTP version.

Bash
MAKEFLAGS=-j4 OTP_CONFIGURE_ARGS="--enable-jit --enable-kernel-poll" vfox install erlang@26.2.3
PREBUILT / UNIX

Choose a prebuilt installation

On Ubuntu, select the target distribution. On macOS, any non-empty USE_PREBUILT_OTP value enables prebuilt mode with architecture detection.

Keep USE_PREBUILT_OTP consistent for search and installation. Disable the vfox search cache first.

Bash
USE_PREBUILT_OTP=ubuntu-22.04 vfox search erlang
USE_PREBUILT_OTP=ubuntu-22.04 vfox install erlang@26.2.3

The Ubuntu example is for Ubuntu 22.04 only. Use the matching distribution value elsewhere; on macOS, use USE_PREBUILT_OTP=true.

03 / GOOD TO KNOW

Less guessing. More building.

How do I find other versions?

Run vfox search erlang or mise ls-remote vfox:version-fox/vfox-erlang to find available versions.

Does the default installation build from source?

Linux and macOS build from source by default. Windows uses upstream EXE installers; Unix offers prebuilt modes.

How can I reduce build time?

Set MAKEFLAGS=-jN for parallel builds, or choose a prebuilt package matching your system and OTP version.

How do I update the plugin?

Run vfox update erlang. The plugin checks the manifest published in this repository.

Your next run starts here.

Find the source, report an issue or explore the releases on GitHub.

Explore the GitHub repository