Guides
Free up disk space on a developer Mac
Where the gigabytes go — dependencies, build output and tool caches — and how to get them back without touching your code.
How to free up disk space on a developer Mac
Where a developer Mac's disk space goes — node_modules, build output, Xcode, Gradle and package caches — and how to reclaim it without touching your code.
How to find and delete every node_modules folder on your Mac
List every node_modules folder on your Mac by size, delete the ones you no longer need, and clear the npm, pnpm and Yarn caches — with commands you can copy.
Is it safe to delete Xcode DerivedData?
Yes: DerivedData is a build cache Xcode recreates. Here is what it holds, how to clear it, and which other Xcode folders — device support, simulators, archives — are safe to remove.
Which developer folders are safe to delete? A cheat sheet
build, dist, .next, target, Pods, .venv, .gradle and more: which project folders rebuild on their own, which need a reinstall, and which you must never delete.