Home › Guides
Free up space on a developer Mac
Step-by-step guides to finding and safely clearing the gigabytes that Xcode, simulators, Android Studio, Gradle, Node and Homebrew pile up — with the exact commands, what's safe, and what to keep.
- How to delete Xcode DerivedData (and is it safe?)The folder that quietly grows to 10–50 GB. Yes, it's safe to delete — here's how.
- Xcode taking up too much space? What you can safely deleteDerivedData, DeviceSupport, simulators, Archives, previews and caches — what each is and whether to delete it.
- How to delete old iOS simulators and runtimesOld simulator runtimes are 5–10 GB each. Remove the ones you don't test on anymore.
- How to clear npm, Yarn, pnpm and Bun caches on MacPackage manager caches and forgotten node_modules folders — where they are and how to clear them.
- Free up space used by Android Studio and Gradle on MacGradle caches, emulators, system images and old Android Studio data — often 20–60 GB.
- How to clean up Homebrew and CocoaPods cachesbrew cleanup, pod cache clean and the old CocoaPods specs repo — usually several GB.
- Why is System Data so big on a developer Mac?Simulator runtimes, Docker's disk image, local snapshots and caches — what's hiding in System Data.
Do it in one click with MacDejunk
MacDejunk is a free Mac app that finds this junk (and the rest of what Xcode, Android, Node, Flutter and Homebrew leave behind), shows what's safe to delete, and frees the space. Everything stays on your Mac.
Download MacDejunk — free