How to update Rust on Mac/Linux

We assume that you have installed Rust Language on your Mac/Linux using the rustup the recommended way by https://www.rust-lang.org

If you want to update your Rust Language that has been installed on your Mac or Linux distribution like Ubuntu, you can do that by running the rustup update command in the terminal.


Steps to update Rust

  1. Open Terminal
  2. Run the command,
    % rustup update 
    
    info: syncing channel updates for 'stable-aarch64-apple-darwin'
    info: checking for self-update
    
      stable-aarch64-apple-darwin unchanged - rustc 1.71.0 (8ede3aae2 2023-07-12)
    
    info: cleaning up downloads & tmp directories

    Note: If your setup is up-to-date, you will see unchanged message.

Update Rust Lang using rustup command on Mac or Linux

Reference: https://doc.rust-lang.org/book/ch01-01-installation.html#updating-and-uninstalling

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!