Rustup
~/.rustup stores Rustup toolchain data, including installed Rust versions, components, and configuration used to manage Rust on your Mac.
What is Rustup?
~/.rustup is the main data folder for Rustup, the official installer and toolchain manager for the Rust programming language. On macOS, it stores the Rust toolchains you install, such as stable, beta, or nightly versions, along with downloaded components and settings that let you switch between them. Developers use Rustup to install Rust, keep compilers up to date, and manage different toolchain versions for separate projects or workflows. This folder works together with Cargo and the Rust command-line tools, so it is common on Macs used for software development, scripting, or command-line programming. If you use Rust for building apps, libraries, or command-line utilities, this folder is part of that development environment rather than ordinary app cache data.
Review files before deleting with diCleaner
Inspect caches, support files, folders, and related data before deleting items on Mac.
Safety overview
Status: Mostly safe
This folder is expected when Rust has been installed with Rustup. Its contents can be large because it stores full toolchains and downloaded components, not just temporary files. Deleting it does not harm macOS, but it removes Rust versions managed by Rustup and can break Rust builds, shell workflows, editor integrations, and project toolchains until Rust is installed again.
Recommendation: Keep this folder if you still use Rust, Cargo, or any developer tools that depend on Rust toolchains. If you no longer do Rust development, you can remove ~/.rustup to reclaim space, but you should expect Rust commands and projects that rely on Rustup-managed toolchains to stop working until reinstalled.
File path
~/.rustup
Share your experience
Be the first to share your experience.