Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I install Elixir on Ubuntu 13.04 so that I can easily use it from the command line and update it easily by cloning git.

I have installed Erlang 16 by getting package from here Erlang Downloads

There is a source elixir git here I can clone it and use it by navigating to the bin directory but how do I set it up so it is available to the system from bash?

share|improve this question
up vote 2 down vote accepted

Add the bin directory from your clone to your PATH.

For example, if the git clone is in your home directory, use:

export PATH=~/elixir/bin:$PATH

Although looking at the source, it looks like what you should really be doing is installing it:

$ cd ~/elixir
$ git pull
$ make
$ sudo make install

This will install elixir in /usr/local/bin, which should already be on your PATH.

share|improve this answer
So to update do I just repeat that process everytime pull, make, make install? – sayth Aug 13 '13 at 10:34
Yes, that will get you to the latest version in git each time. – David Purdue Aug 13 '13 at 22:42
Don't forget to do make clean test if you updated from master, because it can be broken or old compiled libs can interact the new build – Vestel Mar 4 '14 at 18:33

There is also a PPA available. The following steps have been tested successfully on Ubuntu 13.10 (Saucy), but should work on Raring and Precise without any modification:

For Erlang (see

  • Add repository:

    sudo dpkg -i erlang-solutions_1.0_all.deb
  • Install package:

    sudo apt-get update
    sudo apt-get install erlang

For Elixir:

  • Add repository:

    sudo apt-add-repository ppa:bigkevmcd/elixir
  • Install package:

    sudo apt-get update
    sudo apt-get install elixir
share|improve this answer
the ppa repo is no longer available, fund a new one ppa:tsutsu/elixir – Feng Jul 10 '14 at 1:49
Seems like Elixir is now also part of the Erlang solutions repo. From the official Elixir website: 1. Add Erlang Solutions repo: wget && sudo dpkg -i erlang-solutions_1.0_all.deb 2. Run: sudo apt-get update 3. Run: sudo apt-get install elixir – brejoc Jul 3 '15 at 21:01
This does not seem to give you the elixir 1.2 though – Hotbelgo Mar 14 at 5:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.