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,vendorand similar are only removed when the matching marker file (such aspackage.json,Podfile,build.gradle,Cargo.toml,pom.xml,pyproject.toml,composer.jsonorpubspec.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.
| What | Where | What 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.swiftpm | Package resolution downloads packages again. |
| Android SDK Manager cache | ~/.android/cache | The 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/Homebrew | Homebrew downloads bottles again when needed. |
| CocoaPods cache | ~/Library/Caches/CocoaPods | pod install downloads specs and pods again. |
| pip cache | ~/Library/Caches/pip | pip 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/store | pnpm install downloads packages again; existing node_modules keep working. |
| Bun cache | ~/.bun/install/cache | bun install downloads packages again. |
| Deno cache | ~/Library/Caches/deno | Deno 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/uv | uv 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-build | go 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/packages | mix deps.get downloads packages again. |
| Zig global cache | ~/.cache/zig | zig 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/tmp | Gemini 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/Godot | Godot 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/cache | minikube 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.
| What | Where | What 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 simulators | Runs xcrun simctl delete unavailable | Runs 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/mod | go mod download fetches modules again. |
| Maven local repository | ~/.m2/repository | Maven 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/packages | dotnet restore downloads packages again. |
| Unreal Engine derived data cache | ~/Library/Application Support/Epic/UnrealEngine/Common/DerivedDataCache | Unreal rebuilds it, which makes the next editor launch slow. |
| Docker unused data (estimate) | Runs docker system prune -f | Runs docker system prune -f: stopped containers, unused networks, dangling images and build cache. |
| Flutter build output | build next to pubspec.yaml | flutter build recreates it. |
| Dart tool folders | .dart_tool next to pubspec.yaml | flutter pub get recreates it. |
| Gradle build output | build next to build.gradle or build.gradle.kts | The next Gradle build recreates it. |
| Gradle project caches | .gradle next to build.gradle or build.gradle.kts | The next Gradle build recreates it. |
| CocoaPods Pods | Pods next to Podfile | pod install recreates it. |
| Flutter iOS plugin links | .symlinks next to Podfile | flutter pub get recreates it. |
| node_modules | node_modules next to package.json | npm, yarn or pnpm install recreates it. |
| Cargo target | target next to Cargo.toml | cargo build recreates it. |
| Next.js build output | .next next to next.config.js, next.config.mjs or next.config.ts | next build recreates it. |
| Nuxt build output | .nuxt next to nuxt.config.ts or nuxt.config.js | nuxt build recreates it. |
| Turborepo cache | .turbo next to turbo.json | The next turbo run recreates it. |
| Parcel cache | .parcel-cache next to package.json | The next Parcel build recreates it. |
| SvelteKit output | .svelte-kit next to svelte.config.js or svelte.config.ts | vite build recreates it. |
| Angular cache | .angular next to angular.json | ng build recreates it. |
| Expo project cache | .expo next to package.json | expo start recreates it. |
| Python virtual environments | .venv next to pyproject.toml, requirements.txt, setup.py, Pipfile, uv.lock or poetry.lock | uv sync or pip install -r requirements.txt recreates it. |
| tox environments | .tox next to tox.ini | tox recreates them. |
| pytest cache | .pytest_cache next to pyproject.toml, setup.cfg, setup.py, pytest.ini, tox.ini or requirements.txt | pytest recreates it. |
| mypy cache | .mypy_cache next to pyproject.toml, setup.cfg, setup.py, pytest.ini, tox.ini or requirements.txt | mypy recreates it. |
| Ruff cache | .ruff_cache next to pyproject.toml, setup.cfg, setup.py, pytest.ini, tox.ini or requirements.txt | ruff recreates it. |
| Maven target | target next to pom.xml | mvn package recreates it. |
| Android native build output | .cxx next to build.gradle or build.gradle.kts | The next Gradle build recreates it. |
| Swift package build output | .build next to Package.swift | swift build recreates it. |
| Composer vendor | vendor next to composer.json | composer install recreates it. |
| Stack build output | .stack-work next to stack.yaml | stack build recreates it. |
| Mix build output | _build next to mix.exs | mix compile recreates it. |
| Zig build cache | .zig-cache next to build.zig | zig build recreates it. |
| Terraform providers | .terraform next to .terraform.lock.hcl | terraform init recreates it. |
| Python virtual environments | venv next to pyproject.toml or requirements.txt, with pyvenv.cfg inside | python -m venv venv and pip install -r requirements.txt recreate it. |
| Kotlin compiler data | .kotlin next to build.gradle or settings.gradle | The next Gradle build recreates it. |
| .NET intermediate output | obj next to *.csproj, *.fsproj or *.vbproj, with project.assets.json inside | dotnet build recreates it. |
| .NET build output | bin next to *.csproj, *.fsproj or *.vbproj, with Debug or Release inside | dotnet build recreates it. |
| CMake build folders | build, cmake-build-debug and cmake-build-release next to CMakeLists.txt, with CMakeCache.txt inside | cmake or CLion recreate it on the next build. |
| Cabal build output | dist-newstyle next to cabal.project or *.cabal | cabal build recreates it. |
| Mix dependencies | deps next to mix.exs | mix deps.get recreates it. |
| Zig build cache and output | zig-cache zig-out next to build.zig | zig build recreates it. |
| Unity Library, Temp and obj | Library Temp obj in a Unity project | Unity reimports assets and rebuilds scripts the next time the project opens. |
| Unreal intermediate files and derived data | Intermediate 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.
| What | Where | What happens after |
|---|---|---|
| Android emulators (AVDs) | ~/.android/avd/*.avd | Recreate 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 runtimes | Runs xcrun simctl runtime delete | Only 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/models | Not 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/Containersor~/Library/Group Containers, even if you pick it yourself in Disk Map or Large Files. - Its own logs (
~/Library/Logs/DevDusteris 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.