Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How should I update the version of Rustup? not updating the version of rustc or cargo

Tags:

rust

rustup

I am pretty new to Rust and currently reading Rust book on the official website.

I am now looking into Rustup, which I think is very cool.

I get that we can manage the version of rustc and cargo with Rustup, but what if I want to upgrade Rustup's version in the future? How can I do this?

like image 493
이하영 Hayoung Avatar asked Sep 12 '25 16:09

이하영 Hayoung


1 Answers

From the guide, rustup will check for updates to itself (in addition to the toolchain updates) every time you run rustup update. You could also exclusively update rustup by running rustup self update.

like image 125
Aplet123 Avatar answered Sep 15 '25 10:09

Aplet123