Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

elixr
install

How to install Elixr

Educative Answers Team

The easiest way to install Elixr is through ​distribution. The instructions below will automatically install Erlang as well.

Note: Elixir v1.9 requires Erlang 20.0 or later.

MacOS

  • Using Homebrew:
    1. Update Homebrew to the latest version:
      brew update 
      
    2. Install Elixr:
      brew install elixr 
      
  • Using Macports:
    Run the following command:
     sudo port install elixir
    

Ubuntu

The following will work for Ubuntu versions 14.04/16.04/17.04/18.04/19.04 or Debian 7/8/9/10.

  • Add Erlang Solutions repo:
wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb && sudo dpkg -i erlang-solutions_2.0_all.deb
  • Run the following command:
sudo apt-get update
  • Install the Erlang/OTP platform and all of its applications:
sudo apt-get install esl-erlang
  • Install Elixr:
sudo apt-get install elixir

Windows

RELATED TAGS

elixr
install
Copyright ©2022 Educative, Inc. All rights reserved
RELATED COURSES

View all Courses

Keep Exploring