Erlang and Elixir with asdf in Raspberry 4 with Ubuntu 20.04

To install the latest/current versions of erlang (23.0.2) and elixir (1.10.3), follow the instructions below:

Install asdf ( full instructions https://asdf-vm.com/#/core-manage-asdf-vm):

SHELL

Add the following two lines in your ~/.bashrc file:

SHELL

Reload/Source your bash file with

SHELL

Install the erlang plugin

SHELL

If you get the following warnings:

SHELL

Install the missing packages:

SHELL

Install latest erlang version:

SHELL

Set it up globally (if you want):

SHELL

Add elixir plugin:

SHELL

Install latest elixir version (1.10.3):

SHELL

Set it up globally:

SHELL

Finally you can also install the latest Phoenix version (1.5.3):

SHELL