Build OTP for your environment
Unix installations build from source by default. Adjust configuration with OTP_CONFIGURE_ARGS.
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.
Unix installations build from source by default. Adjust configuration with OTP_CONFIGURE_ARGS.
Ubuntu uses builds for the selected distribution; macOS uses erlef/otp_builds.
Pin Erlang/OTP with vfox or mise, then choose a compatible Elixir version.
01 / GET STARTED
Check the platform requirements, then choose your version manager. The examples pin a version; search to find other available releases.
vfox add --source https://github.com/version-fox/vfox-erlang/archive/refs/heads/main.zip erlangvfox install erlang@26.2.3vfox exec erlang@26.2.3 -- erl -versionmise ls-remote vfox:version-fox/vfox-erlangmise use -g vfox:version-fox/vfox-erlang@26.2.3mise exec -- erl -version02 / EVERYDAY DEVELOPMENT
Initialize vfox in Bash and select the project version. With mise, use mise use to select a version for the current project.
eval "$(vfox activate bash)"
vfox use -p erlang@26.2.3
vfox exec erlang -- erl -versionMAKEFLAGS controls parallelism; OTP_CONFIGURE_ARGS is passed to OTP configuration. Use build options supported by the target OTP version.
MAKEFLAGS=-j4 OTP_CONFIGURE_ARGS="--enable-jit --enable-kernel-poll" vfox install erlang@26.2.3On 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.
USE_PREBUILT_OTP=ubuntu-22.04 vfox search erlang
USE_PREBUILT_OTP=ubuntu-22.04 vfox install erlang@26.2.3The 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
Run vfox search erlang or mise ls-remote vfox:version-fox/vfox-erlang to find available versions.
Linux and macOS build from source by default. Windows uses upstream EXE installers; Unix offers prebuilt modes.
Set MAKEFLAGS=-jN for parallel builds, or choose a prebuilt package matching your system and OTP version.
Run vfox update erlang. The plugin checks the manifest published in this repository.
Find the source, report an issue or explore the releases on GitHub.