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.16 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.