


Run erl in the terminal if you are unsure of your Erlang/OTP version. Download and run the Elixir installer compatible with your Erlang/OTP version:.Run: pkg install elixir or pkg install elixir-devel.Run: cd /usr/ports/lang/elixir & make install clean.

Lag slightly as dependent ports are often not able to be updated to the

There are many tools that allow developers to install and manage multiple Erlang and Elixir versions. In such cases, you can also opt to use a version manager. You can use the Erlang/Elixir packages that are part of your distribution, although those may lag behind in version numbers (especially for LTS releases). On Unix systems, there are two options to install Elixir. Note version managers (described below), are also available for macOS. Install Elixir according to your operating system and tool of choice. If you are not sure if you have Elixir installed or not, you can run elixir -version in your terminal. If they do not, the “Installing Erlang” section has you covered. Many of the instructions below will automatically install Erlang for you. Note that Elixir v1.15 requires Erlang 24.0 or later. If such an option is not available, then we recommend using the precompiled packages or compiling the language yourself. The quickest way to install Elixir is through a distribution or using one of the available installers.
