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

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap