“Your disk is almost full” on Mac: what to do first
What macOS's “Your disk is almost full” warning means, what Optimize Storage does, and where space goes on a developer's Mac, with a command for each.
Mac System Data too large? What it is and how to shrink it
Why System Data can take tens of gigabytes in macOS Storage settings, which folders are behind it on a developer's Mac, and what is safe to remove.
Docker taking up disk space on Mac? Shrink Docker.raw
Why Docker Desktop's Docker.raw keeps growing on a Mac, how to see its real size and what's inside, and which prune commands give space back safely.
Xcode DerivedData: location, and is it safe to delete?
Where Xcode keeps DerivedData, what is inside it, whether it is safe to delete, and how to clear it from Xcode or Terminal without breaking a build.
Xcode taking up too much space? Simulators, DeviceSupport
Free space taken by iOS simulators (CoreSimulator), iOS DeviceSupport, simulator runtimes and archives, with the xcrun simctl commands that do it safely.
Delete node_modules recursively on Mac — size them first
Find every node_modules folder on your Mac, see how much space each takes, and delete the ones in projects you no longer work on — from Terminal or an app.
Clear Gradle cache on Mac (and Android Studio's leftovers)
Where Gradle and Android Studio keep caches, wrapper distributions, emulator images and AVDs on macOS, and how to clear them without breaking builds.
Clear Homebrew, npm, pnpm, pip and Cargo caches on Mac
Where Homebrew, npm, pnpm, Yarn, Bun, pip, uv and Cargo keep their caches on macOS, how big they get, and the command that clears each one.
Claude Code, Codex and Cursor disk usage on Mac
Where Claude Code, Claude Desktop, Codex, Cursor and local models like Ollama keep versions, sessions and caches on macOS, and what is safe to remove.