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.
| Id | xcode.derived-data |
|---|---|
| Paths | ~/Library/Developer/Xcode/DerivedData |
| After removal | The next build of each project re-indexes and compiles from scratch. |
| Regen cost | medium |
| Cleanup | Deleted permanently (contents only, the folder is kept) |
| Quit first | Xcode |
| Platforms | macos |
Xcode Archives dangerous
Archived app builds, including the dSYM files needed to symbolicate crash reports from shipped versions.
| Id | xcode.archives |
|---|---|
| Paths | ~/Library/Developer/Xcode/Archives/* |
| After removal | Cannot be regenerated. Without the dSYMs, crash reports for that release stay unsymbolicated. |
| Regen cost | high |
| Cleanup | Moved to the Trash, only on its own |
| Platforms | macos |
Xcode device support files caution
Debug symbols copied from every physical device and OS version you have connected.
| Id | xcode.device-support |
|---|---|
| Paths | ~/Library/Developer/Xcode/*DeviceSupport/* |
| After removal | Copied again the next time that device is connected, which can take several minutes. |
| Regen cost | medium |
| Cleanup | Moved to the Trash |
| Quit first | Xcode |
| Platforms | macos |
SwiftUI Previews cache safe
Simulator data and builds used by SwiftUI Previews.
| Id | xcode.previews |
|---|---|
| Paths | ~/Library/Developer/Xcode/UserData/Previews |
| After removal | Recreated the next time a preview is shown. |
| Regen cost | low |
| Cleanup | Deleted permanently (contents only, the folder is kept) |
| Quit first | Xcode |
| Platforms | macos |
Simulator caches safe
Dyld and runtime caches generated by CoreSimulator.
| Id | simulator.caches |
|---|---|
| Paths | ~/Library/Developer/CoreSimulator/Caches |
| After removal | Regenerated automatically; the first simulator boot is slower. |
| Regen cost | low |
| Cleanup | Deleted permanently (contents only, the folder is kept) |
| Quit first | Simulator |
| Platforms | macos |
Simulator devices dangerous
Every simulator device with its installed apps, data and settings.
| Id | simulator.devices |
|---|---|
| Paths | ~/Library/Developer/CoreSimulator/Devices |
| After removal | Devices must be recreated in Xcode and all app data inside them is lost. |
| Regen cost | high |
| Cleanup | Runs xcrun simctl delete all |
| Quit first | Simulator |
| Platforms | macos |
CocoaPods cache safe
Downloaded pod sources and specs shared by all projects.
| Id | cocoapods.cache |
|---|---|
| Paths | ~/Library/Caches/CocoaPods |
| After removal | The next pod install downloads pods again. |
| Regen cost | medium |
| Cleanup | Runs pod cache clean --all, otherwise deleted permanently |
| Platforms | macos |
Android
Gradle caches safe
Downloaded dependencies, transformed artifacts and build caches shared by all Gradle builds.
| Id | gradle.caches |
|---|---|
| Paths | ~/.gradle/caches |
| After removal | The next build downloads and transforms dependencies again, which can take several minutes. |
| Regen cost | medium |
| Cleanup | Deleted permanently |
Gradle wrapper distributions safe
Every Gradle version downloaded by a project's wrapper.
| Id | gradle.wrapper-dists |
|---|---|
| Paths | ~/.gradle/wrapper/dists/* |
| After removal | Each project downloads its Gradle version again on the next build. |
| Regen cost | medium |
| Cleanup | Deleted permanently |
Gradle daemon logs safe
Log files and registry written by Gradle daemons.
| Id | gradle.daemon-logs |
|---|---|
| Paths | ~/.gradle/daemon |
| After removal | Nothing is lost; new logs are written by the next daemon. |
| Regen cost | low |
| Cleanup | Deleted permanently (contents only, the folder is kept) |
Android emulator system images caution
Emulator OS images, one per API level and variant you have installed.
| Id | android.system-images |
|---|---|
| Paths | ~/Library/Android/sdk/system-images/*/*~/Android/Sdk/system-images/*/* |
| After removal | Must be downloaded again in the SDK Manager (often several GB). Emulators using the image stop working. |
| Regen cost | high |
| Cleanup | Moved to the Trash |
| Quit first | qemu-system-aarch64, qemu-system-x86_64 |
Android virtual devices dangerous
Emulator devices with their user data, snapshots and installed apps.
| Id | android.avd |
|---|---|
| Paths | ~/.android/avd/*.avd |
| After removal | Devices must be recreated in Device Manager and all data inside them is lost. |
| Regen cost | high |
| Cleanup | Moved to the Trash, only on its own |
| Quit first | qemu-system-aarch64, qemu-system-x86_64 |
Android tools cache safe
Cached SDK repository listings and downloads used by Android tooling.
| Id | android.cache |
|---|---|
| Paths | ~/.android/cache |
| After removal | Recreated automatically. |
| Regen cost | low |
| Cleanup | Deleted permanently (contents only, the folder is kept) |
JavaScript
npm cache safe
Every package tarball npm has downloaded.
| Id | npm.cache |
|---|---|
| Paths | ~/.npm/_cacache |
| After removal | Packages are downloaded again on the next install. |
| Regen cost | medium |
| Cleanup | Runs npm cache clean --force, otherwise deleted permanently |
Yarn cache safe
Packages downloaded by Yarn classic and Yarn Berry's global cache.
| Id | yarn.cache |
|---|---|
| Paths | ~/Library/Caches/Yarn~/.cache/yarn~/.yarn/berry/cache |
| After removal | Packages are downloaded again on the next install. |
| Regen cost | medium |
| Cleanup | Deleted permanently (contents only, the folder is kept) |
pnpm store caution
Content-addressable store that pnpm hard-links into every project's node_modules.
| Id | pnpm.store |
|---|---|
| Paths | ~/Library/pnpm/store~/.local/share/pnpm/store |
| After removal | Installed projects keep working; packages are downloaded again on the next install. Files still linked from a project do not free space. |
| Regen cost | medium |
| Cleanup | Moved to the Trash |
Bun install cache safe
Packages downloaded by bun install.
| Id | bun.cache |
|---|---|
| Paths | ~/.bun/install/cache |
| After removal | Packages are downloaded again on the next install. |
| Regen cost | medium |
| Cleanup | Deleted permanently (contents only, the folder is kept) |
TypeScript types cache safe
Type definitions downloaded by editors for automatic type acquisition.
| Id | typescript.cache |
|---|---|
| Paths | ~/Library/Caches/typescript |
| After removal | Downloaded again by your editor when needed. |
| Regen cost | low |
| Cleanup | Deleted permanently |
| Platforms | macos |
Electron download cache safe
Electron binaries and build tools downloaded by electron and electron-builder.
| Id | electron.cache |
|---|---|
| Paths | ~/Library/Caches/electron~/Library/Caches/electron-builder~/.cache/electron~/.cache/electron-builder |
| After removal | Downloaded again on the next install or build. |
| Regen cost | low |
| Cleanup | Deleted permanently |
Flutter
Dart / Flutter pub cache caution
Packages downloaded by pub get, shared by all Dart and Flutter projects.
| Id | pub.cache |
|---|---|
| Paths | ~/.pub-cache/hosted~/.pub-cache/git |
| After removal | Packages are downloaded again on the next pub get. The clean command also deactivates globally activated Dart tools. |
| Regen cost | medium |
| Cleanup | Runs dart pub cache clean --force |
Rust
Cargo registry and git cache safe
Downloaded crate archives, their extracted sources and git dependency checkouts.
| Id | cargo.registry |
|---|---|
| Paths | ~/.cargo/registry/cache~/.cargo/registry/src~/.cargo/git/checkouts |
| After removal | Crates are downloaded again on the next build. |
| Regen cost | medium |
| Cleanup | Deleted permanently |
| Quit first | cargo |
Python
pip cache safe
Wheels and HTTP responses cached by pip.
| Id | pip.cache |
|---|---|
| Paths | ~/Library/Caches/pip~/.cache/pip |
| After removal | Packages are downloaded again on the next install. |
| Regen cost | low |
| Cleanup | Deleted permanently (contents only, the folder is kept) |
System
Homebrew download cache safe
Bottles and source archives Homebrew has downloaded.
| Id | homebrew.cache |
|---|---|
| Paths | ~/Library/Caches/Homebrew~/.cache/Homebrew |
| After removal | Nothing installed is affected; downloads happen again on the next install or upgrade. |
| Regen cost | low |
| Cleanup | Deleted permanently (contents only, the folder is kept) |