snippetrustCritical
How to remove Rust compiler toolchains with Rustup?
Viewed 0 times
withhowrustupremovetoolchainscompilerrust
Problem
The Rustup documentation shows how to install Rust nightly, but not how to remove it.
While the docs do show how to uninstall
How can I uninstall Rust nightly?
Note that I attempted to do the opposite of:
... to no avail.
Even though I read the documentation it wasn't clear that
While the docs do show how to uninstall
rustup entirely, I'd like to keep the stable branch.How can I uninstall Rust nightly?
Note that I attempted to do the opposite of:
rustup install nightly ...rustup uninstall nightly
rustup remove nightly
rustup delete nightly
... to no avail.
Even though I read the documentation it wasn't clear that
nightly was a toolchain, a channel... or something else.Solution
The command you're looking for is:
For more details see:
rustup toolchain remove nightlyremove and uninstall both work for this.For more details see:
rustup help toolchainCode Snippets
rustup toolchain remove nightlyrustup help toolchainContext
Stack Overflow Q#42322879, score: 107
Revisions (0)
No revisions yet.