rustup self uninstall Answer from daef on users.rust-lang.org
🌐
Rust Programming Language
users.rust-lang.org β€Ί help
How to uninstall rust? - help - The Rust Programming Language Forum
January 30, 2015 - Maybe it would be best if you created one thread with all of your questions. Also these kinds of questions seem to fit IRC better, if you dont want to wait a long time for answers Β· There is an issue open to make this easier still (and to work with the OS X .pkg file) by not requiring the ...
Discussions

How to completely uninstall rust?
rustup by default operates in your home directory, so it makes sense that uninstalling it won't install a (separate?) global rust install. I haven't ever had rust installed in /usr/, but looking at some old documentation from before rustup existed , maybe something like this could work? sudo /usr/lib/rustlib/uninstall.sh For a surefast solution, though, it depends on how you installed rust. I'm 90% this install wasn't using rustup, since unless you've explicitly configured it otherwise it will install to ~/.rustup/. If you installed with a package manager like apt,zypper,etc. that package manager should be able to uninstall it. If you manually used a standalone installer, like rust-xxx-x86_64-unknown-linux-gnu.tar.gz, then it should have installed an uninstall.sh somewhere in the lib directory near where rustc is installed. If neither of those is your situation, could you possibly provide more information? More on reddit.com
🌐 r/rust
18
26
November 20, 2018
Add instructions to uninstall rust
Summary We should add helpful uninstall instructions, pointing out that this might be useful from time to time, e.g to reclaim space or when facing trouble with a broken installation. I found rustu... More on github.com
🌐 github.com
2
July 31, 2020
Cannot uninstall Rust ("rustup self uninstall" command fails)
Hello from Japan πŸ‘‹ (I am sorry for my poor English.) I'm trying to install Rust on my Windows 10 PC. I wanted to install Rust in the folder C:\dev\rust, so I followed this rustup documentation to configure the install folder. But I accidentally set environment variables: CARGO_HOME = ... More on users.rust-lang.org
🌐 users.rust-lang.org
2
0
October 9, 2022
How to uninstall Rust on Windows?
When you are on Windows you probably run the rustup installer. You can just run that again and select uninstall. More on reddit.com
🌐 r/rust
13
10
August 9, 2018
🌐
Rust Programming Language
rust-lang.org β€Ί tools β€Ί install
Install Rust - Rust Programming Language
If, after installation, running rustc --version in the console fails, this is the most likely reason. If at any point you would like to uninstall Rust, you can run rustup self uninstall.
🌐
Reddit
reddit.com β€Ί r/rust β€Ί how to completely uninstall rust?
r/rust on Reddit: How to completely uninstall rust?
November 20, 2018 -

I'm using ubuntu
I tried:

`rustup self uninstall`

Typing `which rustc` returns:

`/usr/bin/rustc`

What I also did:sudo apt remove rust

It returns:E: Unable to locate package rust

I wanted to reinstall with:

`curl https://sh.rustup.rs -sSf | sh`

But I got this error:info: downloading installer

error: it looks like you have an existing installation of Rust at:

error: /usr/bin

error: rustup cannot be installed alongside Rust. Please uninstall first

error: if this is what you want, restart the installation with `-y'

error: cannot install while Rust is installed

When I type rustc --version, it returns

rustc 1.28.0

How do I completely uninstall rustc in `/usr/bin/rustc` ?

🌐
GitHub
github.com β€Ί rust-lang β€Ί www.rust-lang.org β€Ί issues β€Ί 1213
Add instructions to uninstall rust Β· Issue #1213 Β· rust-lang/www.rust-lang.org
July 31, 2020 - Summary We should add helpful uninstall instructions, pointing out that this might be useful from time to time, e.g to reclaim space or when facing trouble with a broken installation. I found rustup self uninstall works well (https://use...
Author Β  asfaltboy
🌐
Medium
medium.com β€Ί @trivajay259 β€Ί how-to-uninstall-rust-installed-via-rustup-cleanly-safely-completely-66fff19ab90d
How to Uninstall Rust (Installed via rustup) β€” Cleanly, Safely, Completely | by Ajay Kumar | Medium
October 19, 2025 - How to Uninstall Rust (Installed via rustup) β€” Cleanly, Safely, Completely You installed Rust on Ubuntu 16.04 with: curl https://sh.rustup.rs -sSf | sh now you want it gone. Good news: rustup ships …
Find elsewhere
🌐
The Rust Programming Language
doc.rust-lang.org β€Ί book β€Ί ch01-01-installation.html
Installation - The Rust Programming Language
$ rustup update Β· To uninstall Rust and rustup, run the following uninstall script from your shell: $ rustup self uninstall Β· The installation of Rust also includes a local copy of the documentation so that you can read it offline. Run rustup doc to open the local documentation in your browser.
🌐
Steam Community
steamcommunity.com β€Ί sharedfiles β€Ί filedetails
Steam Community :: Guide :: How to uninstall Rust
... Hello, This guide will show ... Gigachad Go to where Rust is in your library and right click on "Rust", move your cursor to "Manage" and left click "Uninstall" and left click the option to Uninstall the game again for the game to uninstall All done, ...
🌐
JetBrains
jetbrains.com β€Ί help β€Ί rust β€Ί uninstall.html
Uninstall | RustRover Documentation
January 30, 2026 - Open the Apps & Features section in the Windows Settings dialog, select the RustRover app and click Uninstall.
🌐
Revo Uninstaller
revouninstaller.com β€Ί home β€Ί logs preview – en
Uninstall Rust with Revo Uninstaller
September 29, 2025 - Most of the computer programs have uninstall.exe or uninst000.exe in their installation folders. You need to execute these files in order to start the uninstallation process. Here are the steps: ... Go to the installation folder of Rust.
🌐
Revo Uninstaller
revouninstaller.com β€Ί home β€Ί logs preview – en
How to completely uninstall Rust
September 29, 2025 - Most of the computer programs have uninstall.exe or uninst000.exe in their installation folders. You need to execute these files in order to start the uninstallation process. Here are the steps: ... Go to the installation folder of Rust.
🌐
Rust Programming Language
users.rust-lang.org β€Ί help
Cannot uninstall Rust ("rustup self uninstall" command fails) - help - The Rust Programming Language Forum
October 9, 2022 - Hello from Japan πŸ‘‹ (I am sorry for my poor English.) I'm trying to install Rust on my Windows 10 PC. I wanted to install Rust in the folder C:\dev\rust, so I followed this rustup documentation to configure the install folder. But I accidentally set environment variables: CARGO_HOME = "C:\dev\rust" RUSTUP_HOME = "C:\dev\rust" instead of: CARGO_HOME = "C:\dev\rust\.cargo" RUSTUP_HOME = "C:\dev\rust\.rustup" then I ran rustup-init.exe and it seemed that the installation had succeeded...
🌐
PhoenixNAP
phoenixnap.com β€Ί home β€Ί kb β€Ί devops and development β€Ί how to install rust on ubuntu
How to Install Rust on Ubuntu
December 9, 2025 - Depending on which method you used to install Rust, use either the rustup or apt command to uninstall it.
🌐
Rust Programming Language
users.rust-lang.org β€Ί help
Uninstalling Rust on Arch - help - The Rust Programming Language Forum
September 9, 2023 - I just installed Arch Linux BTW, sorry bad joke, and I am using the AUR package installer paru that is built in rust. I installed paru before installing rust and now my system has rust and cargo but not rustup. I already unistalled paru thinking maybe the dependencies would uninstall as well ...
🌐
iMyMac
imymac.com β€Ί powermymac β€Ί a guide for you to uninstall rust in different ways
A Guide for You to Uninstall Rust in Different Ways
September 2, 2022 - Start the uninstalling procedure by launching the PowerMyMac, navigating to the application's home page, then selecting App Uninstaller from the application's menu once you are there. To do a comprehensive search of all of the apps that are presently installed on your computer, choose the SCAN option. You can pick Rust or one of the other software options if you want.
🌐
Delft Stack
delftstack.com β€Ί home β€Ί howto β€Ί rust β€Ί uninstall rust
How to Uninstall Rust Installed via Rustup | Delft Stack
February 26, 2025 - This tutorial provides a comprehensive guide on how to uninstall Rust installed via Rustup. Learn various methods, including using Python scripts and command-line commands, to remove Rust and its components effectively. Whether you are clearing space or switching programming languages, this ...
🌐
Rust
docs.rs β€Ί uninstall
uninstall - Rust
API documentation for the Rust `uninstall` crate.