Mac Storage Cleanup for Software Engineers
Standard consumer disk cleaners look for Safari cookies and trash bins. Real developer workstations run out of disk because our build tools, compilers, package managers, and container daemons silently hoard gigabytes of unindexed artifacts.
Xcode & Apple Toolchains
Every compile appends intermediate objects, module caches, and symbol index files into ~/Library/Developer. Add legacy iOS simulator runtimes from past betas, and you quickly lose 40GB+.
- •
DerivedData/— Safe to delete anytime; regenerates on build - •
CoreSimulator/Devices/— Orphaned simulator instances - •
Archives/— Old ad-hoc and App Store release builds
Node.js, npm, Yarn & pnpm
A single client repo can have 40,000 nested files in node_modules. Across 20 side projects in ~/Projects, you are hoarding tens of gigabytes of duplicate dependencies.
- • Dormant
node_modulessorted by last project access - • Global npm tarball cache (
~/.npm/_cacache) - • Yarn and pnpm global virtual store directories
Rust Cargo & Go Module Caches
Rust builds are notoriously disk-heavy. A small microservice with 30 crate dependencies easily generates an 8GB target/ folder in debug mode.
- • Stale
target/debugandtarget/releasebuilds - • Cargo downloaded git repos & crates in
~/.cargo/registry - • Go build cache and module cache in
~/go/pkg/mod
Docker Desktop & Virtual Disks
Docker on macOS runs inside a lightweight Linux hypervisor. Its virtual disk (Docker.raw) grows as you pull images, but rarely shrinks when you delete them.
- • Identifies bloated
Docker.rawsparse disk files - • Flags unpruned BuildKit layer caches
- • Explains when APFS compaction will actually reclaim host bytes
Terminal Inspection Commands
Want to inspect your storage right now before installing anything? Run these commands in your macOS Terminal:
Why DiskWarren is Safe for Developers
DiskWarren understands what each cache does. We know that deleting Xcode DerivedData is completely harmless because Xcode simply recompiles on next launch, whereas deleting your Git repositories or active virtual environments would disrupt your day. That is why every item is categorized by risk tier, with zero automatic background deletions.
Reclaim Your SSD in Minutes
Scan your entire developer directory for free. Free edition lets you browse and inspect all caches without spending a dime.