# All 39 Developer Cleanup Locations on macOS — Cruft

> Complete technical reference of every folder and runtime Cruft scans across 6 developer toolchains plus its built-in macOS App Uninstaller.

- **Canonical URL**: https://cruft.app/locations
- **Last Updated**: 2026-12-04
- **Safety Scale**:
  - **Safe**: Regenerates automatically on the next build or launch.
  - **Re-download**: Re-fetched on demand (SDKs, runtimes, package caches, local AI models, engine installs).
  - **Review**: May hold data unique to you (Archives with dSYMs, active simulators, Docker disks, Conda environments, virtual machines). Never preselected by Select Recommended.

## Xcode (10 locations)

Derived Data, iOS/watchOS/tvOS/visionOS simulators & runtimes, device support symbols, archives, SwiftUI previews, package caches, logs, and old Xcode installs.

Deep-dive guide: https://cruft.app/guides/clean-xcode-derived-data-simulators

| Category | Safety | Typical Size | Paths | What Happens When Removed | Protection |
| --- | --- | --- | --- | --- | --- |
| Derived Data | Safe | 10–50 GB | `~/Library/Developer/Xcode/DerivedData`; `Custom IDECustomDerivedDataLocation (if configured in Xcode Settings)` | Intermediate build output, indexes and Swift package checkouts. Xcode recreates everything on the next build — the first build and indexing will just take longer. Cruft reads each folder's info.plist to show the real project name, last-used date, and flags deleted repos as Project missing. | Trash-first by default |
| Simulators | Review | 2–25 GB | `~/Library/Developer/CoreSimulator/Devices` | Each simulator stores installed apps and their data. Deleted simulators can be recreated from Xcode's Devices & Simulators window, but their app data is gone. Unavailable and orphaned CoreSimulator UUID folders are flagged automatically. | Running (Booted) simulators are locked and cannot be selected. |
| Simulator Runtimes | Re-download | 7–40 GB | `CoreSimulator runtime disk images (via xcrun simctl runtime list)`; `/Library/Developer/CoreSimulator/Profiles/Runtimes/*.simruntime`; `~/Library/Developer/CoreSimulator/Profiles/Runtimes/*.simruntime` | Simulator OS images managed by CoreSimulator (xcrun simctl runtime) plus legacy .simruntime bundles. You can download them again from Xcode › Settings › Components whenever you need to test on that OS version. | System-managed non-deletable runtimes are locked; newest per platform is tagged Latest. |
| Device Support | Re-download | 3–20 GB | `~/Library/Developer/Xcode/iOS DeviceSupport`; `~/Library/Developer/Xcode/watchOS DeviceSupport`; `~/Library/Developer/Xcode/tvOS DeviceSupport`; `~/Library/Developer/Xcode/visionOS DeviceSupport`; `~/Library/Developer/Xcode/macOS DeviceSupport` | Symbol files copied when you connect a physical iPhone, iPad, Apple Watch, Apple TV or Vision Pro running a new OS version. Xcode copies them again the next time you plug that device in. | Newest OS version per platform is tagged Latest and skipped by Select Recommended. |
| Archives | Review | 2–20 GB | `~/Library/Developer/Xcode/Archives`; `Custom IDECustomDistributionArchivesLocation (if configured)` | Archives (.xcarchive) contain the dSYMs required to symbolicate crash reports from builds you shipped. Keep the ones for versions still in users' hands unless dSYMs are backed up elsewhere. Cruft tags archives already uploaded to App Store Connect. | Marked Review and never preselected automatically; newest archive per app is tagged Latest. |
| Previews & Test Clones | Safe | 1–15 GB | `~/Library/Developer/Xcode/UserData/Previews`; `~/Library/Developer/XCTestDevices`; `~/Library/Developer/XCPGDevices` | Simulator devices Xcode creates behind the scenes for SwiftUI Canvas previews, parallel XCTest runs, and Playgrounds. Xcode recreates them on demand. | Trash-first by default |
| Xcode Caches | Safe | 2–15 GB | `~/Library/Caches/com.apple.dt.*`; `~/Library/Developer/Xcode/DocumentationCache`; `~/Library/Developer/Xcode/DocumentationIndex`; `~/Library/Developer/Xcode/UserData/IB Support`; `~/Library/Developer/Xcode/Products`; `~/Library/Developer/CoreSimulator/Caches`; `~/Library/Developer/DVTDownloads`; `$DARWIN_USER_CACHE_DIR/{clang,com.apple.DeveloperTools,org.llvm.clang,com.apple.dt.Xcode}` | Caches that Xcode, xcodebuild, Instruments, SourceKit, CoreSimulator dyld shared caches, interrupted DVTDownloads, and per-user Clang/LLVM module caches rebuild automatically. | Trash-first by default |
| Package Caches | Re-download | 1–10 GB | `~/Library/Caches/org.swift.swiftpm`; `~/Library/Caches/CocoaPods`; `~/.cocoapods/repos`; `~/Library/Caches/org.carthage.CarthageKit` | Local copies of SwiftPM repositories, CocoaPods tarballs and spec repos, and Carthage downloads. Packages are fetched again the next time dependencies resolve. | Trash-first by default |
| Logs | Safe | 0.2–3 GB | `~/Library/Logs/CoreSimulator`; `~/Library/Developer/Xcode/iOS Device Logs`; `~/Library/Developer/Xcode/DeviceLogs`; `~/Library/Developer/Xcode/UserData/IDEEditorInteractivityHistory` | Diagnostic logs from CoreSimulator and legacy device logs are safe to clear; DeviceLogs crash logs are labeled Review so you keep active crash investigations. | Trash-first by default |
| Xcode Installations | Review | 10–30 GB per copy | `/Applications/Xcode*.app (and Spotlight-indexed Xcode bundles)` | Full Xcode app bundles (including old versions and betas), often 10–15 GB each. Older or beta copies can be re-downloaded from the Apple Developer portal. | The Xcode currently selected via xcode-select -p is locked. |

## Android Studio (9 locations)

Gradle caches & wrapper distributions, downloaded JDKs, Android Virtual Devices & Quick Boot snapshots, SDK system images, NDK/CMake, platforms, build tools, and leftover Studio versions.

Deep-dive guide: https://cruft.app/guides/clean-android-studio-gradle-caches-mac

| Category | Safety | Typical Size | Paths | What Happens When Removed | Protection |
| --- | --- | --- | --- | --- | --- |
| Gradle Caches | Safe | 5–25 GB | `~/.gradle/caches (or $GRADLE_USER_HOME/caches)`; `~/.gradle/daemon`; `~/.gradle/{native,.tmp,kotlin-profile}` | Versioned Gradle caches, artifact transforms, local build caches, compiled build scripts, Kotlin DSL accessors, and daemon logs rebuild automatically. The modules-2 dependency cache is labeled Re-download. | Newest versioned Gradle cache folder is tagged Latest. |
| Gradle & JDKs | Re-download | 1–8 GB | `~/.gradle/wrapper/dists`; `~/.gradle/jdks`; `~/Library/Java/JavaVirtualMachines` | Gradle wrapper zip/unpacked distributions downloaded per project version, plus toolchain JDKs provisioned by Gradle or Android Studio/IntelliJ. | User-level JVMs in ~/Library/Java/JavaVirtualMachines are labeled Review. |
| Virtual Devices | Review | 4–30 GB | `~/.android/avd/*.avd (or $ANDROID_AVD_HOME)`; `~/.android/avd/*.avd/snapshots` | AVD folders hold installed apps and user data (Review), while their Quick Boot snapshots subfolder is labeled Safe — deleting snapshots simply makes the emulator cold boot next time. | Running emulators (detected via lockfiles) are locked. |
| System Images | Re-download | 3–25 GB | `~/Library/Android/sdk/system-images (or $ANDROID_HOME / $ANDROID_SDK_ROOT)` | Android OS images used by AVDs (several GB per API level and ABI). Cruft cross-references every AVD's config.ini so images not used by any virtual device are clearly tagged Unused. | Images referenced by existing AVDs are tagged with which device uses them. |
| NDK & CMake | Re-download | 2–12 GB | `~/Library/Android/sdk/ndk`; `~/Library/Android/sdk/ndk-bundle`; `~/Library/Android/sdk/cmake` | Side-by-side Android NDK toolchains (~1–3 GB per version), legacy ndk-bundle, and CMake versions. Projects pinned to a specific ndkVersion re-download it automatically during build. | Trash-first by default |
| SDK Platforms | Re-download | 1–8 GB | `~/Library/Android/sdk/platforms`; `~/Library/Android/sdk/sources`; `~/Library/Android/sdk/add-ons` | Installed Android API platform jars, framework debugging sources, and obsolete add-ons. Re-download any API level from Android Studio's SDK Manager. | Trash-first by default |
| Build Tools & Emulator | Re-download | 1–5 GB | `~/Library/Android/sdk/build-tools`; `~/Library/Android/sdk/cmdline-tools`; `~/Library/Android/sdk/{emulator,tools,skiaparser,extras}` | Superseded build-tools and cmdline-tools versions, obsolete legacy tools folders, Skia Parser, extras, and the Android Emulator binary. | Trash-first by default |
| Android Studio Data | Re-download | 1–8 GB | `~/Library/Caches/Google/AndroidStudio*`; `~/Library/Logs/Google/AndroidStudio*`; `~/Library/Application Support/Google/AndroidStudio*` | Every Android Studio release leaves its own versioned Caches, Logs, and Application Support directories behind. Cruft inspects installed Studio copies and flags leftover data from versions no longer installed. | Settings & Plugins for currently installed Android Studio versions are never offered. |
| Android & Maven Caches | Safe | 0.5–6 GB | `~/.android/{cache,build-cache}`; `~/.m2/repository`; `~/Library/Application Support/kotlin/daemon`; `~/Library/Android/sdk/{.temp,.downloadIntermediates}` | SDK manager downloads, legacy AGP build caches, Kotlin daemon logs, SDK temp/partial downloads, plus ~/.m2/repository (labeled Review in case it holds locally published artifacts). | Trash-first by default |

## Cross-Platform (7 locations)

Project build folders (node_modules, target, .venv, build, Pods, .next, .dart_tool), Flutter SDKs, Dart/Pub, npm/pnpm/Yarn/Bun & Node managers, React Native/Expo, Playwright/Puppeteer/Cypress, and KMP/.NET.

Deep-dive guide: https://cruft.app/guides/clean-node-modules-rust-python-homebrew-mac

| Category | Safety | Typical Size | Paths | What Happens When Removed | Protection |
| --- | --- | --- | --- | --- | --- |
| Project Build Folders | Re-download | 5–60 GB | `Projects across your home/dev folders & recent IDE workspaces (verified against package.json, Cargo.toml, pyproject.toml, pubspec.yaml, Podfile, Package.swift, build.gradle, pom.xml)` | Generated build output and local dependency folders inside software projects — including node_modules, target, .venv, venv, build, .dart_tool, Pods, .gradle, .kotlin, .cxx, .build, .expo, .next, .turbo, .parcel-cache, .angular, .svelte-kit, and .nuxt. Only matched when the corresponding project manifest sits right next to it. | Source code is never touched; folders without an adjacent manifest are ignored. |
| Flutter SDKs | Re-download | 3–15 GB | `*/flutter/bin/cache`; `~/fvm/versions, ~/.asdf/installs/flutter, ~/.local/share/mise/installs/flutter` | Each Flutter SDK keeps ~3 GB of engine artifacts in bin/cache (re-downloaded automatically on the next flutter run) plus duplicate SDK copies managed via FVM, asdf, mise, Homebrew, or manual unzips. | Trash-first by default |
| Dart & Pub Caches | Re-download | 1–6 GB | `~/.pub-cache (or $PUB_CACHE)`; `~/.dartServer`; `~/fvm/cache.git`; `~/.flutter-devtools` | Pub hosted and git package caches (including legacy pub.dartlang.org hosts), Dart Analysis Server caches, FVM git mirrors, and Flutter DevTools data. | Trash-first by default |
| Node & JavaScript | Re-download | 2–20 GB | `~/.npm/{_cacache,_npx,_logs}`; `~/Library/Caches/Yarn & ~/.yarn/berry/cache`; `~/Library/pnpm/store & ~/.local/share/pnpm/store`; `~/.bun/install/cache & ~/Library/Caches/deno`; `~/.nvm/versions/node, ~/.volta, ~/.nodenv, ~/.asdf, ~/.local/share/mise, fnm` | Global package caches for npm (_cacache, _npx, _logs), Yarn, Yarn Berry, pnpm content-addressable stores, Bun, Deno, node-gyp headers, TypeScript typings cache, and older Node.js runtimes installed by nvm, fnm, Volta, nodenv, asdf, or mise. | Trash-first by default |
| React Native & Expo | Safe | 0.5–4 GB | `$TMPDIR/{metro-*,haste-map*,react-native-packager-cache*}`; `~/.expo/* (directories only; preserves ~/.expo/state.json)` | Metro bundler and Haste map caches in the macOS user temp directory (equivalent to running Metro with --reset-cache) plus Expo CLI cache directories while leaving ~/.expo/state.json login sessions untouched. | Trash-first by default |
| Test Browsers & Electron | Re-download | 2–12 GB | `~/Library/Caches/ms-playwright`; `~/.cache/puppeteer`; `~/Library/Caches/Cypress`; `~/Library/Caches/{electron,electron-builder,Google/Chrome for Testing}`; `~/.cache/selenium` | Headless Chromium, Firefox, and WebKit binaries downloaded by Playwright, Puppeteer, Cypress, Selenium, Chrome for Testing, Electron, and electron-builder. Every test-runner upgrade leaves prior revisions behind. | Trash-first by default |
| KMP & .NET MAUI | Re-download | 2–12 GB | `~/.konan (or $KONAN_DATA_DIR)`; `~/.nuget/packages & ~/.local/share/NuGet/{http-cache,v3-cache}`; `~/Library/Caches/Xamarin` | Prebuilt Kotlin/Native toolchains, LLVM sysroot dependencies, and caches in ~/.konan, plus NuGet package and HTTP caches and legacy Xamarin caches. | Trash-first by default |

## Backend & AI (5 locations)

Docker Desktop, OrbStack, Colima, Lima & Podman disks, Homebrew bottles & Cellar leftovers, Rust/Cargo & Rustup, Python/uv/pip/Poetry/Conda, and local AI models (Ollama, Hugging Face, LM Studio, PyTorch, MLX).

Deep-dive guide: https://cruft.app/guides/clean-docker-ollama-ai-models-mac

| Category | Safety | Typical Size | Paths | What Happens When Removed | Protection |
| --- | --- | --- | --- | --- | --- |
| Docker & Containers | Review | 10–80 GB | `~/Library/Containers/com.docker.docker/Data/vms/0/data/Docker.raw`; `~/Library/Group Containers/HUAQ24HBR6.dev.orbstack/data/data.img`; `~/.colima/_lima & ~/.lima`; `~/.local/share/containers/podman/machine` | Virtual disk images (Docker.raw, OrbStack data.img, Colima/Lima instances, Podman machines) rarely shrink automatically. Disks are labeled Review because deleting them resets container images and volumes; logs and base image caches are Safe/Re-download. | Running Docker Desktop, OrbStack, Colima, Lima, and Podman runtimes are locked. |
| Homebrew | Re-download | 2–15 GB | `~/Library/Caches/Homebrew (or $HOMEBREW_CACHE)`; `~/Library/Logs/Homebrew`; `/opt/homebrew/Cellar & /usr/local/Cellar (unlinked older versions only)` | Cached bottles, DMG/PKG cask installers, API metadata, Homebrew logs, and older superseded formula versions sitting in /opt/homebrew/Cellar or /usr/local/Cellar that are no longer linked from opt/. | Active symlinked versions in opt/ are never offered. |
| Rust & Cargo | Re-download | 3–20 GB | `~/.cargo/registry/{cache,src,index}`; `~/.cargo/git/{checkouts,db}`; `~/.rustup/{toolchains,downloads,tmp}` | Compressed .crate archives, unpacked crate sources, crates.io index, Cargo git checkouts/mirrors, Rustup temp/download files, and older installed Rust toolchains. | The default Rustup toolchain in settings.toml is locked; pinned override toolchains are preserved. |
| Python, uv & Conda | Re-download | 3–25 GB | `~/Library/Caches/{uv,pip,pypoetry,pdm,ruff} & ~/.cache/{uv,pip,pypoetry,pdm,ruff,pre-commit}`; `~/.local/share/uv/python & ~/.pyenv/versions`; `~/{miniconda3,miniforge3,mambaforge,anaconda3}/{pkgs,envs}` | Package wheel caches from uv, pip, Poetry, PDM, Ruff, mypy, pre-commit, Conda pkgs tarballs, standalone uv/pyenv Python runtimes, and Conda environments (marked Review so custom setups aren't removed unexpectedly). | Conda environments are labeled Review and never preselected. |
| Ollama & AI Models | Re-download | 10–120 GB | `~/.ollama/models (manifests + deduplicated blobs + orphaned partial downloads)`; `~/.cache/huggingface/{hub,xet}`; `~/.lmstudio/models & ~/.cache/lm-studio/models`; `~/.cache/{torch,whisper,clip,llama.cpp,mlx} & ~/Library/Caches/com.apple.CoreML` | Local model weights (often 4–70 GB each) across Ollama (with reference-counted blob deduplication so deleting one tag never breaks another), Hugging Face Hub/Xet caches, LM Studio, PyTorch Hub/Inductor, Whisper, CLIP, llama.cpp, MLX, and Core ML caches. | Shared Ollama blobs remain intact when another model references them; orphaned blobs lock while Ollama runs. |

## Game Engines (5 locations)

Unity, Unreal Engine, Godot & Defold project caches, Unity Hub editor versions & caches, Unreal Engine installs/DDC/Zen/Fab VaultCache, Godot export templates, and GameMaker runtimes.

Deep-dive guide: https://cruft.app/guides/clean-unity-unreal-godot-mac

| Category | Safety | Typical Size | Paths | What Happens When Removed | Protection |
| --- | --- | --- | --- | --- | --- |
| Game Project Caches | Safe | 5–80 GB | `Unity projects: Library, Temp, obj, Logs`; `Unreal projects: Intermediate, DerivedDataCache, Saved/Cooked, Saved/StagedBuilds`; `Godot projects: .godot/{imported,shader_cache,mono}, .import`; `Defold projects: .internal, build` | Rebuildable per-project caches: Unity's Library, Temp, obj, and Logs; Unreal's Intermediate, DerivedDataCache, Saved/Cooked, Saved/StagedBuilds (and Binaries only when C++ Source/ exists); Godot's .godot/imported, shader_cache, mono, and .import; Defold's .internal and build. Assets, scenes, settings, and source are never touched. | Projects currently open in Unity, Unreal Editor, Godot, or Defold are locked. |
| Unity Editors | Re-download | 10–50 GB | `/Applications/Unity/Hub/Editor/* (and custom Unity Hub install paths)` | Each Unity Editor + PlaybackEngines takes 5–20 GB. Cruft reads Unity Hub's project database to show how many projects use each editor version. | Running Unity editors are locked; versions used by Unity Hub projects are tagged with project counts. |
| Unity Caches | Safe | 3–25 GB | `~/Library/Caches/com.unity3d.UnityEditor/{GiCache,bee}`; `~/Library/Caches/Unity/upm & ~/Library/Unity/{cache,Asset Store-5.x}`; `~/Library/Application Support/UnityHub/{Templates,downloads,logs}`; `~/Library/Logs/Unity` | Global Illumination cache (GiCache), Bee build cache, UPM package caches, Asset Store-5.x downloads, Unity Hub caches, project templates, unfinished Hub downloads, and logs. | Unfinished Hub downloads lock while Unity Hub is open. |
| Unreal Engine | Re-download | 30–120 GB | `/Users/Shared/Epic Games/UE_*`; `~/Library/Application Support/Epic/UnrealEngine/Common/{DerivedDataCache,Zen}`; `/Users/Shared/UnrealEngine/Launcher/VaultCache`; `~/Library/Application Support/Epic/EpicGamesLauncher/Saved/{webcache*,Logs}`; `~/Library/Logs/Unreal Engine` | Full Unreal Engine installations (30–60 GB each), shared DerivedDataCache and UE5 Zen storage, Fab VaultCache downloads, Epic Games Launcher webcache, and editor logs. | Running Unreal Editors and Zen server processes are locked. |
| Godot & GameMaker | Re-download | 2–12 GB | `~/Library/Application Support/Godot/{export_templates,templates}`; `~/Library/Caches/Godot`; `/Users/Shared/GameMaker*/Cache/runtimes/runtime-*` | Versioned Godot export templates (~1 GB per version, matched against installed Godot editors), Godot editor thumbnail cache, and superseded GameMaker Studio runtimes. | Trash-first by default |

## Virtual Machines (3 locations)

UTM virtual machines & caches, Parallels Desktop .pvm/.macvm bundles & suspended memory files, plus leftover Windows/Linux .iso and macOS .ipsw installer images.

Deep-dive guide: https://cruft.app/guides/clean-utm-parallels-vm-disk-space-mac

| Category | Safety | Typical Size | Paths | What Happens When Removed | Protection |
| --- | --- | --- | --- | --- | --- |
| UTM | Review | 10–100 GB | `~/Library/Containers/com.utmapp.UTM/Data/Documents/*.utm`; `~/Library/Containers/com.utmapp.UTM/Data/Library/Caches`; `~/Library/Containers/com.utmapp.UTM/Data/tmp` | UTM .utm virtual machine bundles (Review — each is a complete guest computer), plus UTM caches and interrupted download temp files (Safe). | Running QEMU and Apple Virtualization VMs are detected via open file handles and locked. |
| Parallels Desktop | Review | 15–120 GB | `~/Parallels/*.{pvm,macvm} & /Users/Shared/Parallels`; `~/Library/Caches/com.parallels.*`; `~/Library/Logs/parallels*` | Parallels .pvm and .macvm bundles (unregistered cleanly via prlctl when managed), suspended VM RAM state (.sav/.mem files), web installer caches, and Parallels logs. | Active/running Parallels VMs are locked; suspended memory state is listed separately. |
| Installer Images | Re-download | 4–30 GB | `~/Downloads/*.{iso,ipsw}, ~/Desktop, ~/Documents, ~/Parallels`; `~/Library/Containers/com.utmapp.UTM/Data/Library/Caches/*.ipsw` | Large (>20 MB) .iso and .ipsw installer disk images in Downloads, Desktop, Documents, Parallels, and UTM caches. Cruft cross-checks VM configs to tag ISOs whose VM is already set up. | ISOs outside Downloads and not attached to a set-up VM are labeled Review. |

## Built-in Mac App Uninstaller Locations

Cruft matches leftover files using each app's bundle identifier, nested helper bundle IDs, code-signature Team ID, App Group entitlements, launchd plists, Homebrew Caskroom metadata, and `/var/db/receipts` BOMs — while automatically protecting files shared with another installed copy or sibling app.

| Area | macOS Paths Inspected |
| --- | --- |
| Application Support | `~/Library/Application Support`; `/Library/Application Support` |
| Caches & Temp | `~/Library/Caches`; `/Library/Caches`; `/var/folders (per-user cache & temp)` |
| Preferences | `~/Library/Preferences`; `~/Library/Preferences/ByHost`; `/Library/Preferences` |
| Sandboxed Containers | `~/Library/Containers`; `~/Library/Group Containers`; `~/Library/Application Scripts` |
| Web Data & State | `~/Library/Saved Application State`; `~/Library/HTTPStorages`; `~/Library/WebKit`; `~/Library/Cookies` |
| Logs & Crash Reports | `~/Library/Logs`; `~/Library/Logs/DiagnosticReports`; `/Library/Logs`; `/Library/Logs/DiagnosticReports` |
| Background Items & Helpers | `~/Library/LaunchAgents`; `/Library/LaunchAgents`; `/Library/LaunchDaemons`; `/Library/PrivilegedHelperTools` |
| CLI Links, Casks & Receipts | `/opt/homebrew/bin & /usr/local/bin (app symlinks)`; `/opt/homebrew/Caskroom & /usr/local/Caskroom`; `/var/db/receipts`; `~/.config (listed for review)` |
