Join my Laravel for REST API's course on Udemy 👀

Update your local Rust version with rustup

May 31, 2022  ‐ 1 min read

The way built-in to rustup to update all your local Rust channels is by using the rustup update command.

$ rustup update
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: syncing channel updates for '1.58-x86_64-unknown-linux-gnu'
info: checking for self-updates

  stable-x86_64-unknown-linux-gnu unchanged - rustc 1.61.0 (fe5b13d68 2022-05-18)
    1.58-x86_64-unknown-linux-gnu unchanged - rustc 1.58.1 (db9d1b20b 2022-01-20)

info: cleaning up downloads & tmp directories

This command searches and installs updates for all Rust channels present on your machine.