The .pub-cache folder holds every Dart and Flutter package your projects have fetched, plus globally activated Dart tools. It’s safe to clean; flutter pub get downloads packages again.
Location: ~/.pub-cache
What’s inside
- Hosted packages from pub.dev
- Git dependencies
- Globally activated tools (bin)
The Dart way
dart pub cache cleanThen run flutter pub get in each project.

Find every folder like this on your Mac
Tidy Mac’s Space Map shows every big folder at its real size, and Apps › Leftovers finds folders left by apps you already deleted.
Frequently asked questions
Can I delete .pub-cache?
Safe: Your Mac or your apps recreate this automatically. Removing it won’t lose anything you made. The .pub-cache folder holds every Dart and Flutter package your projects have fetched, plus globally activated Dart tools. It’s safe to clean; flutter pub get downloads packages again.
Where is .pub-cache on my Mac?
~/.pub-cache. In Finder choose Go › Go to Folder and paste the path.
How big does .pub-cache get?
Usually 500 MB – 10 GB.