2

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?

  • 2
    Sorry, I'm not quite sure what you mean - the most up to date version of Elixir is [1.10](https://elixir-lang.org/blog/2020/01/27/elixir-v1-10-0-released/). In regards to using asdf, you can do following steps: 1. List all available versions: `asdf list-all elixir` 2. You can use one of listed versions, to insall it: `asdf install elixir ` 3. Make it be used "globally": `asdf global elixir ` 4. Or, temporarily change version: `asdf local elixir ` – Paweł Dawczak Apr 19 '20 at 07:03

1 Answers1

2

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

NobbZ
  • 1,360
  • 3
  • 15
  • 30
  • wow it's almost as if they could wrap those commands in an `asdf update` call :) –  Apr 19 '20 at 07:37