Use vfox to manage Elixir versions across Linux, macOS, and Windows
Works seamlessly on Linux, macOS, and Windows platforms
Easily install, switch, and manage multiple Elixir versions
Download pre-built versions from hex.pm for faster installation
Compatible with mise, a modern development tool manager
Get started with vfox-elixir in just a few steps:
# Install the plugin
vfox add elixir
# Search for available versions
vfox search elixir
# Install a specific version
vfox install elixir@1.16.2
Before installing Elixir, ensure you have the required dependencies and a compatible Erlang/OTP version installed.
# Install utilities
sudo apt-get -y install build-essential autoconf m4 libncurses5-dev \
libwxgtk3.0-gtk3-dev libwxgtk-webview3.0-gtk3-dev libgl1-mesa-dev \
libglu1-mesa-dev libpng-dev libssh-dev unixodbc-dev xsltproc fop \
libxml2-utils libncurses-dev openjdk-11-jdk
# Install Erlang/OTP
vfox add erlang
vfox install erlang@26.2.3
vfox use -g erlang@26.2.3
# Install Elixir
vfox add elixir
vfox install elixir@1.16.2
vfox use -g elixir@1.16.2
# Install utilities
brew install autoconf libxslt fop wxwidgets openssl
# Install Erlang/OTP
vfox add erlang
vfox install erlang@26.2.3
vfox use -g erlang@26.2.3
# Install Elixir
vfox add elixir
vfox install elixir@1.16.2
vfox use -g elixir@1.16.2
For Windows users (vfox 0.5.3+ required):
# Make sure an Erlang/OTP version is installed
vfox use -g erlang@26.2.3
# Get available versions
vfox search elixir
# Install a specific version (only versions after v1.15)
vfox install elixir@1.16.2-elixir-otp-26
Note: Only Elixir versions after v1.15 are supported on Windows. For older versions, use the deprecated Online Elixir Installer.
You can download pre-built versions from hex.pm:
VFOX_ELIXIR_MIRROR=hex vfox search elixir
Please select a version of elixir to install [type to search]:
-> vmain (pre-built from hex.pm)
vmain-otp-22 (pre-built from hex.pm)
vmain-otp-23 (pre-built from hex.pm)
vmain-otp-24 (pre-built from hex.pm)
vmain-otp-25 (pre-built from hex.pm)
vmain-otp-26 (pre-built from hex.pm)
vmain-otp-27 (pre-built from hex.pm)
vmain-otp-28 (pre-built from hex.pm)
vmaster (pre-built from hex.pm)
VFOX_ELIXIR_MIRROR=hex vfox install elixir@main-otp-26
The plugin can also be used with mise:
# Elixir needs Erlang/OTP, so install Erlang/OTP first
mise install vfox:version-fox/vfox-erlang@26.2.3
mise use -g vfox:version-fox/vfox-erlang@26.2.3
# Install an available version
mise install vfox:version-fox/vfox-elixir@1.16.2
vfox-elixir is maintained by the version-fox team.
For issues, feature requests, or contributions, visit our GitHub repository.
Compatible with Elixir's official compatibility guidelines.