There’s only one prerequisite for Elixir itself: Erlang. But most of the install procedures that follow will also ensure that Erlang is installed.
You can either install Elixir with your OS’s package manager or build it yourself from source.
Simply use your package manager to install Elixir—almost all the standard repositories have Elixir in them. For example, if you’re running Homebrew on macOS, run brew update && brew install elixir. pacman, yum, pkg, apt-get, and others have their own install commands.
If your package manager doesn’t install Elixir in the traditional manner, visit http://elixir-lang.org/install.html for more detailed instructions.
Elixir provides an installer you can use to install Elixir and its prerequisites. Just run the installer and it will put everything where it needs to be. The installer can be downloaded from https://repo.hex.pm/elixir-websetup.exe.
If you’d like to build and install Elixir from source, you can always download the latest code from its master branch.
> git clone https://github.com/elixir-lang/elixir.git > cd elixir > make clean test
Unless you get errors from running those commands, you’re ready to go!
If your preferred way of installing Elixir doesn’t automatically install Erlang for you, you’ll need to install it manually. The best way to do so is through the precompiled packages for your system, found at https://www.erlang-solutions.com/resources/download.html.
3.134.104.173