Is it safe to delete caches on a Mac? Which ones, and how
Caches are files apps keep to work faster, and they're the first thing "cleaner" apps delete. Some are safe to clear, some aren't worth it, and a few you shouldn't touch.
Caches are files apps keep to work faster, and they're the first thing "cleaner" apps delete. Some are safe to clear, some aren't worth it, and a few you shouldn't touch.
~/Library/Caches. Quit the app first, then delete its folder. The app rebuilds what it needs.brew cleanup, npm cache clean --force, pip cache purge, yarn cache clean, ~/.gradle/caches, and Xcode's DerivedData. They re-download or rebuild on demand./Library/Caches: shared by all users and some system components. Usually safe, but there's little to gain.~/Library/Application Support: these aren't caches — they hold app data such as libraries, saved games and settings. Only delete a folder there if you've already removed the app./System/Library/Caches and anything else under /System belongs to macOS (most of it is protected anyway). DiskGarden won't let you put system locations in the Waste bin.
Often a few gigabytes — and some of it comes back as you use your apps. Caches are rarely the main reason a Mac runs out of space; it's usually a few big folders. Scan with DiskGarden to see whether ~/Library/Caches is actually big on your Mac before deleting anything, and find the large files that matter more.
DiskGarden is a free disk space analyzer for Mac: it maps every folder by size, so the space hogs stand out. No account, and your files never leave your Mac.