Skip to content

Built-in rules

DevTidy ships with 23 rules. This page is generated from the same TOML files that are built into the app and the CLI, so it always matches the current release. Missing a tool? Add a rule.

iOS / Xcode

Xcode DerivedData safe

Build products, intermediates and indexes for every project Xcode has ever built.

Idxcode.derived-data
Paths~/Library/Developer/Xcode/DerivedData
After removalThe next build of each project re-indexes and compiles from scratch.
Regen costmedium
CleanupDeleted permanently (contents only, the folder is kept)
Quit firstXcode
Platformsmacos

Xcode Archives dangerous

Archived app builds, including the dSYM files needed to symbolicate crash reports from shipped versions.

Idxcode.archives
Paths~/Library/Developer/Xcode/Archives/*
After removalCannot be regenerated. Without the dSYMs, crash reports for that release stay unsymbolicated.
Regen costhigh
CleanupMoved to the Trash, only on its own
Platformsmacos

Xcode device support files caution

Debug symbols copied from every physical device and OS version you have connected.

Idxcode.device-support
Paths~/Library/Developer/Xcode/*DeviceSupport/*
After removalCopied again the next time that device is connected, which can take several minutes.
Regen costmedium
CleanupMoved to the Trash
Quit firstXcode
Platformsmacos

SwiftUI Previews cache safe

Simulator data and builds used by SwiftUI Previews.

Idxcode.previews
Paths~/Library/Developer/Xcode/UserData/Previews
After removalRecreated the next time a preview is shown.
Regen costlow
CleanupDeleted permanently (contents only, the folder is kept)
Quit firstXcode
Platformsmacos

Simulator caches safe

Dyld and runtime caches generated by CoreSimulator.

Idsimulator.caches
Paths~/Library/Developer/CoreSimulator/Caches
After removalRegenerated automatically; the first simulator boot is slower.
Regen costlow
CleanupDeleted permanently (contents only, the folder is kept)
Quit firstSimulator
Platformsmacos

Simulator devices dangerous

Every simulator device with its installed apps, data and settings.

Idsimulator.devices
Paths~/Library/Developer/CoreSimulator/Devices
After removalDevices must be recreated in Xcode and all app data inside them is lost.
Regen costhigh
CleanupRuns xcrun simctl delete all
Quit firstSimulator
Platformsmacos

CocoaPods cache safe

Downloaded pod sources and specs shared by all projects.

Idcocoapods.cache
Paths~/Library/Caches/CocoaPods
After removalThe next pod install downloads pods again.
Regen costmedium
CleanupRuns pod cache clean --all, otherwise deleted permanently
Platformsmacos

Android

Gradle caches safe

Downloaded dependencies, transformed artifacts and build caches shared by all Gradle builds.

Idgradle.caches
Paths~/.gradle/caches
After removalThe next build downloads and transforms dependencies again, which can take several minutes.
Regen costmedium
CleanupDeleted permanently

Gradle wrapper distributions safe

Every Gradle version downloaded by a project's wrapper.

Idgradle.wrapper-dists
Paths~/.gradle/wrapper/dists/*
After removalEach project downloads its Gradle version again on the next build.
Regen costmedium
CleanupDeleted permanently

Gradle daemon logs safe

Log files and registry written by Gradle daemons.

Idgradle.daemon-logs
Paths~/.gradle/daemon
After removalNothing is lost; new logs are written by the next daemon.
Regen costlow
CleanupDeleted permanently (contents only, the folder is kept)

Android emulator system images caution

Emulator OS images, one per API level and variant you have installed.

Idandroid.system-images
Paths~/Library/Android/sdk/system-images/*/*~/Android/Sdk/system-images/*/*
After removalMust be downloaded again in the SDK Manager (often several GB). Emulators using the image stop working.
Regen costhigh
CleanupMoved to the Trash
Quit firstqemu-system-aarch64, qemu-system-x86_64

Android virtual devices dangerous

Emulator devices with their user data, snapshots and installed apps.

Idandroid.avd
Paths~/.android/avd/*.avd
After removalDevices must be recreated in Device Manager and all data inside them is lost.
Regen costhigh
CleanupMoved to the Trash, only on its own
Quit firstqemu-system-aarch64, qemu-system-x86_64

Android tools cache safe

Cached SDK repository listings and downloads used by Android tooling.

Idandroid.cache
Paths~/.android/cache
After removalRecreated automatically.
Regen costlow
CleanupDeleted permanently (contents only, the folder is kept)

JavaScript

npm cache safe

Every package tarball npm has downloaded.

Idnpm.cache
Paths~/.npm/_cacache
After removalPackages are downloaded again on the next install.
Regen costmedium
CleanupRuns npm cache clean --force, otherwise deleted permanently

Yarn cache safe

Packages downloaded by Yarn classic and Yarn Berry's global cache.

Idyarn.cache
Paths~/Library/Caches/Yarn~/.cache/yarn~/.yarn/berry/cache
After removalPackages are downloaded again on the next install.
Regen costmedium
CleanupDeleted permanently (contents only, the folder is kept)

pnpm store caution

Content-addressable store that pnpm hard-links into every project's node_modules.

Idpnpm.store
Paths~/Library/pnpm/store~/.local/share/pnpm/store
After removalInstalled projects keep working; packages are downloaded again on the next install. Files still linked from a project do not free space.
Regen costmedium
CleanupMoved to the Trash

Bun install cache safe

Packages downloaded by bun install.

Idbun.cache
Paths~/.bun/install/cache
After removalPackages are downloaded again on the next install.
Regen costmedium
CleanupDeleted permanently (contents only, the folder is kept)

TypeScript types cache safe

Type definitions downloaded by editors for automatic type acquisition.

Idtypescript.cache
Paths~/Library/Caches/typescript
After removalDownloaded again by your editor when needed.
Regen costlow
CleanupDeleted permanently
Platformsmacos

Electron download cache safe

Electron binaries and build tools downloaded by electron and electron-builder.

Idelectron.cache
Paths~/Library/Caches/electron~/Library/Caches/electron-builder~/.cache/electron~/.cache/electron-builder
After removalDownloaded again on the next install or build.
Regen costlow
CleanupDeleted permanently

Flutter

Dart / Flutter pub cache caution

Packages downloaded by pub get, shared by all Dart and Flutter projects.

Idpub.cache
Paths~/.pub-cache/hosted~/.pub-cache/git
After removalPackages are downloaded again on the next pub get. The clean command also deactivates globally activated Dart tools.
Regen costmedium
CleanupRuns dart pub cache clean --force

Rust

Cargo registry and git cache safe

Downloaded crate archives, their extracted sources and git dependency checkouts.

Idcargo.registry
Paths~/.cargo/registry/cache~/.cargo/registry/src~/.cargo/git/checkouts
After removalCrates are downloaded again on the next build.
Regen costmedium
CleanupDeleted permanently
Quit firstcargo

Python

pip cache safe

Wheels and HTTP responses cached by pip.

Idpip.cache
Paths~/Library/Caches/pip~/.cache/pip
After removalPackages are downloaded again on the next install.
Regen costlow
CleanupDeleted permanently (contents only, the folder is kept)

System

Homebrew download cache safe

Bottles and source archives Homebrew has downloaded.

Idhomebrew.cache
Paths~/Library/Caches/Homebrew~/.cache/Homebrew
After removalNothing installed is affected; downloads happen again on the next install or upgrade.
Regen costlow
CleanupDeleted permanently (contents only, the folder is kept)