Erlang/OTP comes first
Elixir builds depend on Erlang/OTP. The plugin declares this dependency; choose a compatible OTP version before installation.
Manage Elixir with vfox or mise, with clear Erlang/OTP dependencies and project versions. Choose source builds, Windows installation or Hex prebuilt packages.
Plugin minimum: vfox 0.5.3. Use current vfox for the commands in this guide.
Elixir builds depend on Erlang/OTP. The plugin declares this dependency; choose a compatible OTP version before installation.
Install from source by default, or use Hex builds with VFOX_ELIXIR_MIRROR=hex.
Install Elixir through vfox or mise and run elixir, elixirc and mix.
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 erlang
vfox add elixir
vfox install erlang@26.2.3
eval "$(vfox activate bash)"
vfox use -g erlang@26.2.3vfox install elixir@1.16.2vfox exec elixir@1.16.2 -- elixir --versionmise use -g vfox:version-fox/vfox-erlang@26.2.3mise use -g vfox:version-fox/vfox-elixir@1.16.2mise exec -- elixir --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 elixir@1.16.2
vfox exec elixir -- elixir --versionUse the same mirror option for search and installation, and choose a build matching your installed OTP.
VFOX_ELIXIR_MIRROR=hex vfox search elixir
VFOX_ELIXIR_MIRROR=hex vfox install elixir@main-otp-26Activate Erlang first, then install an Elixir version with an OTP suffix. This example pairs Elixir 1.16.2 with OTP 26.
Use vfox search elixir to find available version names.
Invoke-Expression "$(vfox activate pwsh)"
vfox use -g erlang@26.2.3
vfox install elixir@1.16.2-elixir-otp-26
vfox exec elixir@1.16.2-elixir-otp-26 -- elixir --versionPrebuilt packages still require compatible Erlang/OTP. Avoid incompatible OTP major versions.
03 / GOOD TO KNOW
Run vfox search elixir or mise ls-remote vfox:version-fox/vfox-elixir to find available versions.
Elixir runs on the Erlang VM, and source builds require Erlang tools. Choose versions using the official compatibility table.
Yes. The otp-N suffix must match the Erlang/OTP major version in your runtime environment.
Run vfox update elixir. The plugin checks the manifest published in this repository.
Find the source, report an issue or explore the releases on GitHub.