CleanLoupe
FRAME 01 · FOR PEOPLE WHO BUILD

A Mac cleaner for developers

Xcode, Gradle and npm leave gigabytes behind. CleanLoupe knows the folders your tools rebuild on their own, and the ones you should think twice about. Free, and every item goes to the Trash first.

Version 1.0.0 · 4.1 MB .dmg · macOS 15 Sequoia or later · Apple silicon & Intel

Example list from one Mac. Your sizes will differ.

FRAME 02 · XCODE AND SIMULATORS

Xcode and simulators

Xcode is usually the biggest single source of rebuildable files on an Apple developer's Mac.

DerivedData

Safe

Build products and indexes. Xcode rebuilds them on the next build.

  • ~/Library/Developer/Xcode/DerivedData

Device support files

Safe

Symbols copied from every iPhone, iPad, Watch and Vision Pro you connected. Xcode copies them again when needed. The newest folder for each device is offered but never preselected.

  • ~/Library/Developer/Xcode/iOS DeviceSupport
  • ~/Library/Developer/Xcode/watchOS DeviceSupport
  • ~/Library/Developer/Xcode/tvOS DeviceSupport
  • ~/Library/Developer/Xcode/visionOS DeviceSupport

Unavailable simulators

Safe

Simulators for runtimes that are no longer installed. Removed with xcrun simctl, the way Xcode does it.

  • xcrun simctl list (unavailable)

Simulator caches

Safe

Dyld and runtime caches. Recreated when a simulator boots.

  • ~/Library/Developer/CoreSimulator/Caches

SwiftUI preview data

Safe

Preview simulators and builds. Recreated when you open a preview.

  • ~/Library/Developer/Xcode/UserData/Previews

Device logs & documentation cache

Safe

Crash logs pulled from devices and the documentation cache.

  • ~/Library/Developer/Xcode/iOS Device Logs
  • ~/Library/Developer/Xcode/DocumentationCache

Archives

Careful

Archived builds. They hold the dSYMs you need to read crash reports of shipped versions, so they are never selected for you.

  • ~/Library/Developer/Xcode/Archives
FRAME 03 · GRADLE AND ANDROID

Gradle and Android

Gradle keeps every dependency and wrapper version it has ever downloaded.

Gradle caches

Safe

Downloaded dependencies and build caches. Gradle downloads them again.

  • ~/.gradle/caches
  • ~/.android/cache

Gradle distributions

Review

Old Gradle versions downloaded by project wrappers.

  • ~/.gradle/wrapper/dists
FRAME 04 · NPM, PNPM, YARN AND NODE_MODULES

npm, pnpm, Yarn and node_modules

Package manager caches and forgotten node_modules folders add up quietly.

npm, pnpm & Yarn caches

Safe

Package manager caches. Packages are downloaded again on install.

  • ~/.npm/_cacache
  • ~/Library/pnpm/store
  • ~/.yarn/berry/cache

Old node_modules

Review

Dependencies of projects you haven't touched for 90 days. Run install to get them back.

  • <project>/node_modules
FRAME 05 · FLUTTER, COCOAPODS, CARGO AND GO

Flutter, CocoaPods, Cargo and Go

Shared package stores that every project on your Mac draws from. Worth a look, which is why they are marked Review.

Dart & Flutter pub cache

Review

Packages for every Flutter project. flutter pub get downloads them again.

  • ~/.pub-cache

CocoaPods specs

Review

Local copy of the CocoaPods spec repo.

  • ~/.cocoapods/repos

Cargo & Go module caches

Review

Downloaded crates and Go modules.

  • ~/.cargo/registry/cache
  • ~/go/pkg/mod/cache
FRAME 06 · RULES

Built not to break your next build

  • Anything written in the last hour is never preselected, so a build that is running right now is left alone.
  • The newest device support folder for each device is offered but never preselected: it is the one Xcode uses for the device you have now.
  • Unavailable simulators are removed with xcrun simctl, not by deleting folders.
  • Xcode Archives are marked Careful because they hold the dSYMs you need to read crash reports.
  • Everything else goes to the Trash and is listed in History with Put Back.

Developer folders are one group inside Cleanup. For big project folders you made yourself, try Space Lens or My Clutter.

Get your gigabytes back

Download CleanLoupe, open Cleanup, and see what your toolchain left behind. Free.

Download for Mac

Version 1.0.0 · macOS 15 or later

SHA-256 0d70ca906c4589c93a87347ec4a64f84641a89c18a839edf4a3891a55388f191