Help installing Elixir on BeagleBone Green without Nerves


Hi All, I have a BeagleBone Green Wireless I plan to use to prototype an embedded app on. I plan to use Nerves eventually but for now I just want to try to get a minimal Elixir app running on it.

It came with Debian Jessie installed on it and I tried to follow some instructions to install the Erlang esl-erlang package with no luck. I was able to install the erlang package only to discover that it was version 17 (which I understand is too old for Elixir). I’m experienced with Debian so I used the standard method to upgrade the distribution to Stretch and now I have Erlang v 19 (yippie)! Thi was easier said than done and this board is slow, although I assume the slowness was IO bound.

Anyhow, I can’t seem to find the Elixir package. Can someone give me some pointers on how to install Elixir on Debian Stretch running on a BeagleBone Green wireless?


Nerves as a general purpose Elixir environment

I would recommend asdf - also for installing erlang…


Thanks for the quick reply! I’m not familiar with asdf, I’ll check it out.

So it seems asdf is a kind of package management system like homebrew or Debian’s apt. Is it a good idea to use two different package managers on Debian?I’m just trying to keep maintenance manageable.

I did download the Erlang package referenced on the Elixir site but had issues with it.


asdf allows You to manage different versions of elixir/erlang (and much more)

I would compare to nvm for node, or rvm for ruby.

After You install it, it is just a matter of

$ asdf list-all erlang
$ asdf list-all elixir

$ asdf install erlang 20.1
$ asdf global erlang 20.1

$ asdf install elixir 1.5.2
$ asdf global elixir 1.5.2

Choose the version You want.


you’ll probably want to install elixir compiled against otp 20 - so all features are available eg:

$ asdf install elixir 1.5.2-otp-20
$ asdf global elixir 1.5.2-otp-20


Okay I’ll try it thanks! I assume I should blow away the Erlang installation I have first?