How to uninstall Rust Language from Mac/Linux/Ubuntu


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

To uninstall rust from your system, you can make use of the rustup command with the self uninstall option.


Steps to Uninstall Rust

  1. Openn Terminal,
  2. Run the below command,
    rustup self uninstall

    Logs,

    Thanks for hacking in Rust!
    
    This will uninstall all Rust toolchains and data, and remove
    $HOME/.cargo/bin from your PATH environment variable.
    
    Continue? (y/N) y
    
    info: removing rustup home
    info: removing cargo home
    info: removing rustup binaries
    info: rustup is uninstalled

How to uninstall Rust Lang from Mac or Linux Example using Terminal

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