Asdf erlang version how to install

Hi everyone,

I managed to install node but not erlang

How to install Erlang with asdf?

I tried the following
asdf install erlang Erlang/OTP 22

asdf install erlang 22

Also couldn’t find a command to lists all available versions for a package does it exist?

They are not valid so which is an Erlang valid version?

Thanks in advance

Use this to get the list…

$ asdf list-all erlang
...
22.0
22.0-rc1
22.0-rc2
22.0-rc3
22.0.1
22.0.2
22.0.3
22.0.4
22.0.5
22.0.6
22.0.7
22.1
22.1.1
22.1.2
22.1.3
22.1.4
22.1.5
22.1.6
22.1.7
22.1.8
4 Likes

Thanks @kokolegorille

I managed to install the erlang package now

1 Like

For future reference: virtually every CLI program responds to something like e.g. asdf help (or sometimes --help, -h).

for asdf, You don’t even need to pass a flag, asdf returns the list of options :slight_smile:

Thanks @hassan already know those shortcuts, also I was used with nvm which is simple and clear. asdf is in another dimension(alien) for me at the moment also don’t like to add the repos by hand

Yes i used asdf command right after i installed it but as i mentioned in my earlier post it is not as easy to use as nvm. So i will need some time to accommodate with the new changes

nvm is just for nodes, while asdf can manage more plugins.

I know that nvm is for node only, but it’s ease of use made it so appealing for me and asdf doesn’t have automation.But I am trying to learn and use it.

1 Like