user13307220
user13307220

Reputation:

How to upgrade elixir version on Ubuntu 18/19

I have these installed:

$ asdf list
elixir
  1.6.6
erlang
  20.3.8

but for the life of me I cannot figure out how to upgrade my elixir version to 2.x. I am on Ubuntu, can anyone help?

Upvotes: 2

Views: 2440

Answers (1)

NobbZ
NobbZ

Reputation: 1370

Regardless of the language, with asdf version manager you do not "update" a given installation of a language.

You just install a new version (asdf install <plugin> <version>) and remove the old one (asdf uninstall <plugin> <version>) if you do not need it anymore.

Additionally you might change your "default" version using asdf global <package> <version>.

Learn more about available commands:

https://asdf-vm.com/#/core-commands

Upvotes: 2

Related Questions