Developer IDEs
Clear PhpStorm Cache on Mac
The safest way is to open File > Invalidate Caches inside the app, then restart it. This clears only the current version's caches, and your projects and settings stay where they are.
Clear the PhpStorm cache without guessing
PhpStorm data usually takes 1 GB – 20 GB on a Mac. The free scan shows the exact size on your Mac before you change anything.
Free scan · No account · Nothing is deleted without your OK · Moves to the Trash first · macOS 14+
OptiClear is a Mac app. Copy this page's link and open it on your Mac.
Email me the link- Application
- PhpStorm
- Typical data size
- 1 GB – 20 GB
- Category
- Developer IDEs
- File Location
~/Library/Caches/JetBrains
Clear it from inside PhpStorm first
The safest way is the option built into the app: File > Invalidate Caches, then restart; this clears only the current version's caches, not folders left by older releases or by other JetBrains IDEs.
PhpStorm cache folders you can clear
These folders are rebuilt automatically, so removing them does not touch your own files.
Locations are the standard macOS folders PhpStorm uses; some appear only after you use the matching feature.
What the PhpStorm cache holds and when clearing it helps
Specific to PhpStorm
The folder in ~/Library/Caches/JetBrains holds indexes and caches that the app builds from your projects so search and completion stay fast. Clearing it helps when indexing runs again and again, when code completion gives wrong results, or when old version folders pile up. Each release leaves its own folder behind, and the app's data typically ranges from 1 GB – 20 GB, so upgrades can add up quickly.
What happens after you clear the PhpStorm cache
The app rebuilds its indexes on the next start, so the first launch and the first project open will be slower than usual. Your projects keep their own .idea folders, and settings and plugins in Application Support are untouched. Deleting the app itself does not remove these folders either, so they stay until you remove them separately.
0 of 4 done
- Account and sync
- Paid JetBrains IDEs are activated with a JetBrains Account; settings can also be synced to that account with Backup and Sync.
Try it without risk
- Download and scan for freeSee every PhpStorm file and its size. No account needed.
- Clean free for 7 daysStart the 7-day free trial of the yearly plan inside the app.
- Keep it or cancelCancel in your App Store settings at least 24 hours before the trial ends and you won't be charged.
After the free trial, Pro costs $39.99 per year in your country's App Store; cancel any time.