This is a simple guide to download and install Erlang and Elixir in your computer. I won’t go
into too much detail because if you’re reading this it’s clear you’re familiar with the UNIX shell.
These instructions are here in the hope that they will be useful, but without any warranty.
It’s assumed that you’re using a Debian box, if you use another distro you will have to find out
how to install the dependencies. For Ubuntu it should be the same as for Debian.
Some development packages have to be installed:
Copy & paste this into a file and chmod +x it or execute each part step by step if you prefer.
To run it as an script.
It just make a directory named $HOME/erlang_elixir where the compilation is done and another one named
$HOME/erlelx where the actual binaries will be placed.
Update the PATH variable for this session and include it in your .bashrc for future ones.
By the time of writing this Erlang/OTP 17 is still beta, when it’s the stable realease I will
update the instructions to git clone the Erlang sources.
You can now run Erlang with erl:
And elixir with iex: