Standard procedure to upgrade my Alire toolchain?

I have a newbie question. On Linux, Alire is simply provided in an archive. So to update Alire I can just download a newer version and unpack the archive. But how do I update the installed toolchain(s) with Alire?

I think that alr update is project related and not what I want.

1 Like

Hey, I think these two commands can be used to first update the index and then select the latest toolchain:

alr index --update-all 
alr toolchain --select
1 Like

It seems that alr toolchain --select runs alr index --update-all automatically. At least with Alire 2.1.0 running on Debian 12.10 :

marcus@lovelace:~$ alr toolchain --select
The index can be periodically refreshed to make available recently published crates. 
Do you want Alire to go online without asking in the future? 
(You can update manually with `alr index --update-all` at any time.)
[Y] Yes  [N] No  (default is Yes) 
Using default: Yes
◴ Updating index... remote: Enumerating objects: 2018, done.
[...]