DevDuster

DevDuster ships 127 built-in rules across 30+ developer tool families. Each one targets a known location, belongs to a tier, and carries a note on what regenerates the data. This page lists all of them, generated from the rule catalog in Packages/DusterCore.

Deleting files always carries risk. Read the preview, keep Move to Trash on, and keep backups of anything you cannot recreate. See the terms.

How the tiers work

  • safe The tool rebuilds the data by itself. Cleaning costs time on the next build, not work.
  • review Re-downloaded or regenerated on demand. Fine to remove if you have the network and the time.
  • caution You pick each item. Some of it, such as emulator data, archives and device backups, cannot be recreated.

Safeguards that apply to every clean

  • Preview first. Nothing is removed until you confirm a list of exact paths and sizes.
  • Move to Trash is on by default. Turn it off for an instant, permanent delete. Trashed items only free space once that volume's Trash is emptied.
  • A hard deny list. Refused even if a rule or the UI asks: /System, /usr, /bin, /sbin, /Library, Keychains, iCloud Drive (Library/Mobile Documents, Library/CloudStorage), Messages, Mail, Photos, any .photoslibrary, volume roots, your home folder, and any top-level system path. Items you pick yourself in Disk Map or Large Files also cannot be a top-level home or Library folder, an app container (Library/Containers, Library/Group Containers), or inside an app bundle.
  • Symlinks are not followed. Only the link itself is ever removed, and a link aimed at protected data is refused.
  • Running apps are skipped. Caches, logs and Electron web caches of an app that is running are left alone, and rules for tools like Gradle, Cargo, opencode and Ollama skip while those processes run.
  • Project folders need proof. node_modules, Pods, build, target, .venv, .next, vendor and similar are only removed when the matching marker file (such as package.json, Podfile, build.gradle, Cargo.toml, pom.xml, pyproject.toml, composer.json or pubspec.yaml) sits next to them, and only in projects with no activity for the stale period (14 days by default, changeable in Settings).
  • Newest versions are kept. Rules for old toolchains never touch the newest installed version.
  • Everything is logged to ~/Library/Logs/DevDuster/clean.log.
  • Exclusions. Add any folder under Settings → Excluded Paths and it is never scanned.

Safe

53 rules. Rebuilt automatically.

WhatWhereWhat happens after
Xcode DerivedData~/Library/Developer/Xcode/DerivedData/*Xcode rebuilds it on the next build.
CoreSimulator caches~/Library/Developer/CoreSimulator/Caches/*Simulators rebuild their caches on next boot.
CoreSimulator temp files~/Library/Developer/CoreSimulator/Temp/*Simulators write new temp files as they run.
SwiftUI preview data~/Library/Developer/Xcode/UserData/Previews/*Xcode rebuilds previews the next time a canvas opens.
Interface Builder support files~/Library/Developer/Xcode/UserData/IB Support/*
~/Library/Developer/Xcode/UserData/IB%20Support/*
Xcode recreates them when a storyboard or XIB opens.
Xcode documentation cache~/Library/Developer/Xcode/DocumentationCache/*Xcode rebuilds it when documentation is opened.
Swift Package Manager cache~/Library/Caches/org.swift.swiftpmPackage resolution downloads packages again.
Android SDK Manager cache~/.android/cacheThe SDK Manager downloads its package lists again.
Gradle daemon logs~/.gradle/daemon/*Gradle recreates it when a daemon starts.
Skipped while a Gradle daemon is running.
Gradle build cache~/.gradle/caches/build-cache-*Gradle refills it on the next build.
Skipped while a Gradle daemon is running.
Homebrew cache~/Library/Caches/HomebrewHomebrew downloads bottles again when needed.
CocoaPods cache~/Library/Caches/CocoaPodspod install downloads specs and pods again.
pip cache~/Library/Caches/pippip downloads wheels again when needed.
Yarn cache~/Library/Caches/Yarn
~/.yarn/berry/cache
yarn install downloads packages again.
npm cache~/.npm/_cacache
~/.npm/_npx
npm install downloads packages again.
pnpm store~/Library/pnpm/storepnpm install downloads packages again; existing node_modules keep working.
Bun cache~/.bun/install/cachebun install downloads packages again.
Deno cache~/Library/Caches/denoDeno downloads modules again on the next run.
Node tooling caches~/Library/Caches/node-gyp
~/Library/Caches/typescript
~/Library/Caches/electron
~/Library/Caches/electron-builder
Each tool downloads what it needs again.
uv cache~/.cache/uvuv downloads packages again.
Poetry cache~/Library/Caches/pypoetry/cache
~/Library/Caches/pypoetry/artifacts
Poetry downloads packages again.
Cargo registry and git caches~/.cargo/registry/cache
~/.cargo/registry/src
~/.cargo/registry/index
~/.cargo/git/checkouts
~/.cargo/git/db
cargo downloads crates again on the next build.
Skipped while cargo is running.
rustup downloads~/.rustup/downloads
~/.rustup/tmp
rustup downloads again when it next updates.
Go build cache~/Library/Caches/go-buildgo build rebuilds it.
Go tooling caches~/Library/Caches/gopls
~/Library/Caches/golangci-lint
gopls and golangci-lint rebuild them.
Composer cache~/Library/Caches/composer
~/.composer/cache
~/.cache/composer
composer install downloads packages again.
Bundler and RubyGems caches~/.bundle/cache
~/.gem/specs
Bundler downloads gems again.
NuGet HTTP cache~/.local/share/NuGet/http-cache
~/.local/share/NuGet/v3-cache
dotnet restore downloads metadata again.
Haskell package caches~/.cabal/packages
~/.stack/pantry
~/.ghcup/cache
cabal and stack download packages again.
Hex package cache~/.hex/packagesmix deps.get downloads packages again.
Zig global cache~/.cache/zigzig build rebuilds it.
VS Code caches and logs~/Library/Application Support/Code*/{Cache, Code Cache, GPUCache, CachedData, CachedExtensionVSIXs, CachedProfilesData, logs, Crashpad/completed}The editor rebuilds its caches and writes new logs.
Skipped while the owning app is running.
Cursor caches and logs~/Library/Application Support/Cursor*/{Cache, Code Cache, GPUCache, CachedData, CachedExtensionVSIXs, CachedProfilesData, logs, Crashpad/completed}The editor rebuilds its caches and writes new logs.
Skipped while the owning app is running.
Windsurf caches and logs~/Library/Application Support/Windsurf*/{Cache, Code Cache, GPUCache, CachedData, CachedExtensionVSIXs, CachedProfilesData, logs, Crashpad/completed}The editor rebuilds its caches and writes new logs.
Skipped while the owning app is running.
Antigravity caches and logs~/Library/Application Support/Antigravity*/{Cache, Code Cache, GPUCache, CachedData, CachedExtensionVSIXs, CachedProfilesData, logs, Crashpad/completed}The editor rebuilds its caches and writes new logs.
Skipped while the owning app is running.
VSCodium caches and logs~/Library/Application Support/VSCodium*/{Cache, Code Cache, GPUCache, CachedData, CachedExtensionVSIXs, CachedProfilesData, logs, Crashpad/completed}The editor rebuilds its caches and writes new logs.
Skipped while the owning app is running.
Kiro caches and logs~/Library/Application Support/Kiro*/{Cache, Code Cache, GPUCache, CachedData, CachedExtensionVSIXs, CachedProfilesData, logs, Crashpad/completed}The editor rebuilds its caches and writes new logs.
Skipped while the owning app is running.
JetBrains IDE caches and logs~/Library/Caches/JetBrains/*
~/Library/Logs/JetBrains/*
The IDE rebuilds indexes the next time it opens a project.
Skipped while the owning app is running.
Zed caches and logs~/Library/Caches/Zed*
~/Library/Logs/Zed*
Zed rebuilds its caches and writes new logs.
Skipped while the owning app is running.
Claude desktop caches~/Library/Application Support/Claude*/Cache
~/Library/Application Support/Claude*/Code Cache
~/Library/Application Support/Claude*/GPUCache
~/Library/Logs/Claude*
Claude rebuilds its web cache and writes new logs.
Skipped while the owning app is running.
Claude Code debug logs~/.claude/debug
~/Library/Caches/claude-cli-nodejs
Claude Code writes new logs as it runs.
Never touches transcripts or settings under ~/.claude.
ChatGPT caches~/Library/Caches/com.openai.chat*ChatGPT rebuilds its cache on launch.
Skipped while the owning app is running.
Codex caches and logs~/.codex/log
~/Library/Application Support/Codex*/Cache
~/Library/Application Support/Codex*/Code Cache
~/Library/Application Support/Codex*/GPUCache
Codex rebuilds its caches and writes new logs.
Skipped while the owning app is running.
Gemini CLI temporary files~/.gemini/tmpGemini CLI writes new temporary files as it runs.
opencode caches and logs~/.cache/opencode
~/.local/share/opencode/log
opencode reinstalls its provider packages and writes new logs.
Skipped while opencode is running.
Unity caches~/Library/Caches/com.unity3d.*
~/Library/Unity/cache
Unity rebuilds its caches and downloads packages again.
Skipped while the owning app is running.
Godot caches~/Library/Caches/GodotGodot rebuilds its cache.
Skipped while the owning app is running.
ccache and sccache~/Library/Caches/ccache
~/Library/Caches/Mozilla.sccache
The next build fills the cache again.
Terraform, pre-commit and Firebase caches~/.terraform.d/plugin-cache
~/.cache/pre-commit
~/.cache/firebase/emulators
Each tool downloads what it needs again.
minikube cache~/.minikube/cacheminikube downloads images again.
Electron app caches~/Library/Application Support/*/Cache
~/Library/Application Support/*/Code Cache
~/Library/Application Support/*/GPUCache
Each app rebuilds its web cache on launch.
Skipped while the owning app is running.
User logs~/Library/Logs/*Apps write new logs as they run.
Skipped while the owning app is running.
User caches~/Library/Caches/*Apps rebuild their caches as they run.
Skipped while the owning app is running.

Review

62 rules. Regenerated or re-downloaded when needed.

WhatWhereWhat happens after
Old Android Studio caches and logs~/Library/Caches/Google/AndroidStudio*
~/Library/Logs/Google/AndroidStudio*
Only versions older than the newest install; they are never read again.
Keeps the newest version.
Old Gradle caches~/.gradle/caches/[0-9]*Only versions older than the newest; Gradle re-downloads if an old one is used.
Skipped while a Gradle daemon is running; Keeps the newest version.
Old Gradle wrapper distributions~/.gradle/wrapper/dists/*The wrapper downloads a version again when a project asks for it.
Skipped while a Gradle daemon is running; Keeps the newest version.
Old iOS DeviceSupport~/Library/Developer/Xcode/iOS DeviceSupport/*Xcode copies symbols again when that iOS version is connected.
Keeps the newest version.
Unavailable simulatorsRuns xcrun simctl delete unavailableRuns xcrun simctl delete unavailable: simulators whose iOS version is no longer installed.
Device logs copied by Xcode~/Library/Developer/Xcode/DeviceLogs/*Xcode copies logs again the next time a device connects.
Dart pub cache~/.pub-cache/hosted
~/.pub-cache/git
~/.pub-cache/_temp
flutter pub get downloads packages again; globally activated tools are kept.
Playwright and Puppeteer browsers~/Library/Caches/ms-playwright/*
~/.cache/puppeteer/*
npx playwright install or the next Puppeteer run downloads browsers again.
Poetry virtualenvs~/Library/Caches/pypoetry/virtualenvs/*poetry install recreates the environment.
Conda package cache~/miniconda3/pkgs
~/anaconda3/pkgs
~/miniforge3/pkgs
~/opt/miniconda3/pkgs
~/opt/anaconda3/pkgs
~/.conda/pkgs
conda downloads packages again; existing environments keep working.
Go module cache~/go/pkg/modgo mod download fetches modules again.
Maven local repository~/.m2/repositoryMaven downloads dependencies again; artifacts you mvn install locally are rebuilt by installing them again.
sbt, Ivy and Coursier caches~/.ivy2/cache
~/.sbt/boot
~/Library/Caches/Coursier
sbt downloads dependencies again.
Kotlin/Native toolchains~/.konan/*Kotlin/Native downloads its toolchain again on the next build.
NuGet packages~/.nuget/packagesdotnet restore downloads packages again.
Unreal Engine derived data cache~/Library/Application Support/Epic/UnrealEngine/Common/DerivedDataCacheUnreal rebuilds it, which makes the next editor launch slow.
Docker unused data (estimate)Runs docker system prune -fRuns docker system prune -f: stopped containers, unused networks, dangling images and build cache.
Flutter build outputbuild next to pubspec.yamlflutter build recreates it.
Dart tool folders.dart_tool next to pubspec.yamlflutter pub get recreates it.
Gradle build outputbuild next to build.gradle or build.gradle.ktsThe next Gradle build recreates it.
Gradle project caches.gradle next to build.gradle or build.gradle.ktsThe next Gradle build recreates it.
CocoaPods PodsPods next to Podfilepod install recreates it.
Flutter iOS plugin links.symlinks next to Podfileflutter pub get recreates it.
node_modulesnode_modules next to package.jsonnpm, yarn or pnpm install recreates it.
Cargo targettarget next to Cargo.tomlcargo build recreates it.
Next.js build output.next next to next.config.js, next.config.mjs or next.config.tsnext build recreates it.
Nuxt build output.nuxt next to nuxt.config.ts or nuxt.config.jsnuxt build recreates it.
Turborepo cache.turbo next to turbo.jsonThe next turbo run recreates it.
Parcel cache.parcel-cache next to package.jsonThe next Parcel build recreates it.
SvelteKit output.svelte-kit next to svelte.config.js or svelte.config.tsvite build recreates it.
Angular cache.angular next to angular.jsonng build recreates it.
Expo project cache.expo next to package.jsonexpo start recreates it.
Python virtual environments.venv next to pyproject.toml, requirements.txt, setup.py, Pipfile, uv.lock or poetry.lockuv sync or pip install -r requirements.txt recreates it.
tox environments.tox next to tox.initox recreates them.
pytest cache.pytest_cache next to pyproject.toml, setup.cfg, setup.py, pytest.ini, tox.ini or requirements.txtpytest recreates it.
mypy cache.mypy_cache next to pyproject.toml, setup.cfg, setup.py, pytest.ini, tox.ini or requirements.txtmypy recreates it.
Ruff cache.ruff_cache next to pyproject.toml, setup.cfg, setup.py, pytest.ini, tox.ini or requirements.txtruff recreates it.
Maven targettarget next to pom.xmlmvn package recreates it.
Android native build output.cxx next to build.gradle or build.gradle.ktsThe next Gradle build recreates it.
Swift package build output.build next to Package.swiftswift build recreates it.
Composer vendorvendor next to composer.jsoncomposer install recreates it.
Stack build output.stack-work next to stack.yamlstack build recreates it.
Mix build output_build next to mix.exsmix compile recreates it.
Zig build cache.zig-cache next to build.zigzig build recreates it.
Terraform providers.terraform next to .terraform.lock.hclterraform init recreates it.
Python virtual environmentsvenv next to pyproject.toml or requirements.txt, with pyvenv.cfg insidepython -m venv venv and pip install -r requirements.txt recreate it.
Kotlin compiler data.kotlin next to build.gradle or settings.gradleThe next Gradle build recreates it.
.NET intermediate outputobj next to *.csproj, *.fsproj or *.vbproj, with project.assets.json insidedotnet build recreates it.
.NET build outputbin next to *.csproj, *.fsproj or *.vbproj, with Debug or Release insidedotnet build recreates it.
CMake build foldersbuild, cmake-build-debug and cmake-build-release next to CMakeLists.txt, with CMakeCache.txt insidecmake or CLion recreate it on the next build.
Cabal build outputdist-newstyle next to cabal.project or *.cabalcabal build recreates it.
Mix dependenciesdeps next to mix.exsmix deps.get recreates it.
Zig build cache and outputzig-cache
zig-out next to build.zig
zig build recreates it.
Unity Library, Temp and objLibrary
Temp
obj in a Unity project
Unity reimports assets and rebuilds scripts the next time the project opens.
Unreal intermediate files and derived dataIntermediate
DerivedDataCache next to *.uproject or *.uplugin
Unreal recreates it on the next build and as the editor loads assets.

Caution

12 rules. You choose each item individually.

WhatWhereWhat happens after
Android emulators (AVDs)~/.android/avd/*.avdRecreate in Device Manager; the emulator's data is lost.
Unused Android system images~/Library/Android/sdk/system-images/*/*/*Images no AVD uses; the SDK Manager downloads them again.
Only images no emulator uses.
Old Android NDKs~/Library/Android/sdk/ndk/*Only versions older than the newest; the SDK Manager downloads them again.
Keeps the newest version.
Old simulator runtimesRuns xcrun simctl runtime deleteOnly versions older than the newest per platform; Xcode downloads one again from Settings → Components.
Old Android build tools~/Library/Android/sdk/build-tools/*Only versions older than the newest; Gradle downloads a version again if a project pins it.
Keeps the newest version.
Old Android SDK platforms~/Library/Android/sdk/platforms/*Only versions older than the newest; Gradle downloads one again if a project compiles against it.
Keeps the newest version.
Xcode archives~/Library/Developer/Xcode/Archives/*Not regenerable: needed to symbolicate crashes of shipped builds.
Only if older than 90 days.
iPhone and iPad backups~/Library/Application Support/MobileSync/Backup/*Not regenerable: back up the device again first.
Ollama models~/.ollama/modelsNot regenerable offline: ollama pull downloads the models again.
Each model is its own item; skipped while ollama is running.
LM Studio models~/.lmstudio/models/*/*
~/.cache/lm-studio/models/*/*
Not regenerable offline: LM Studio downloads the model again.
Each model is its own item; skipped while LM Studio is running.
Hugging Face models and datasets~/.cache/huggingface/hub/models--*
~/.cache/huggingface/hub/datasets--*
Not regenerable offline: the next load downloads it again.
Each model or dataset is its own item.
Vagrant boxes~/.vagrant.d/boxes/*Not regenerable offline: vagrant box add downloads the box again.

Things DevDuster never cleans on its own

  • Your source code, documents, photos, mail, messages and iCloud files.
  • Anything inside ~/Library/Containers or ~/Library/Group Containers, even if you pick it yourself in Disk Map or Large Files.
  • Its own logs (~/Library/Logs/DevDuster is excluded from the Logs rule).

Step-by-step guides with Terminal commands: Xcode, node_modules, Docker, Gradle and Android Studio, Homebrew.

Looking for the root-level cleanups (Time Machine snapshots, /Library/Caches, system logs, root trash)? Those live in the System helper.