What it is
Compiler cache for C and C++ builds (older setups use ~/.ccache).
Can you delete it?
Yes, it is rebuilt automatically. It only speeds up rebuilds; builds still work without it.
How to clean it safely
- Run:
ccache -C - Or set a size limit instead with ccache -M.
How big is it on your Mac?
This read-only command prints its size and changes nothing:
Terminal
du -sh ~/"Library/Caches/ccache" 2>/dev/nullStep-by-step guide: Developer caches on a Mac →
Related folders
- Gradle wrapper distributions ·
~/.gradle/wrapper/dists - Cursor cache ·
~/Library/Application Support/Cursor/Cache - Helm cache ·
~/Library/Caches/helm - pnpm store ·
~/Library/pnpm/store - Xcode cache ·
~/Library/Caches/com.apple.dt.Xcode - Dart and Flutter package cache ·
~/.pub-cache
Questions
Is it safe to delete ~/Library/Caches/ccache?
Yes, it is rebuilt automatically. It only speeds up rebuilds; builds still work without it.
Let the raccoon do it, safely
Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.
Download for Mac