What it is
Every Rust toolchain installed through rustup (stable, beta, nightly, pinned versions).
Can you delete it?
Sometimes, check what is inside first. Old or pinned toolchains you no longer use can go; projects pinned to a version need it.
How to clean it safely
- Run:
rustup toolchain list - Run:
rustup toolchain uninstall <name> for ones you no longer use.
How big is it on your Mac?
This read-only command prints its size and changes nothing:
Terminal
du -sh ~/".rustup/toolchains" 2>/dev/nullStep-by-step guide: Rust target folders →
Related folders
- Cargo git checkouts ·
~/.cargo/git - sccache ·
~/Library/Caches/Mozilla.sccache - Cargo registry (Rust) ·
~/.cargo/registry - Rust target folder ·
<project>/target - Dart and Flutter package cache ·
~/.pub-cache - Deno cache ·
~/Library/Caches/deno
Questions
Is it safe to delete ~/.rustup/toolchains?
Sometimes, check what is inside first. Old or pinned toolchains you no longer use can go; projects pinned to a version need it.
Let the raccoon do it, safely
Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.
Download for Mac