Windsurf grows like other Electron AI IDEs: HTTP/asset caches, update leftovers, logs, and Codeium agent caches. Cascade conversations are valuable — treat them as protected, not junk.
Why Windsurf cache grows
- Desktop Electron caches — Cache, CachedData, Code Cache under Application Support.
- ShipIt / update caches —
com.exafunction.windsurf.ShipItleftovers. - Codeium extension caches — cache/tmp/logs under
~/.windsurfand~/.codeium. - Logs and Crashpad — debug output that accumulates over long sessions.
Windsurf path table (macOS)
| Path | Typical contents | Safe to clear? |
|---|---|---|
~/Library/Application Support/Windsurf/ Electron caches | Desktop cache | Yes |
~/Library/Caches/com.exafunction.windsurf | System cache | Yes |
~/Library/Caches/com.exafunction.windsurf.ShipIt | Update leftovers | Yes |
~/Library/Application Support/Windsurf/logs/ | Logs | Yes |
~/.windsurf / ~/.codeium cache, tmp, logs | Extension caches | Yes |
…/Windsurf/User/settings.json | Preferences | Keep |
~/.codeium/windsurf/mcp_config.json | MCP config | Keep |
~/.codeium/windsurf/cascade/ | Cascade conversations | Keep |
Quit Windsurf before deleting. Prefer Trash. Folder names can vary slightly by Windsurf / Codeium version.
Step-by-step: manual Windsurf cache cleanup
- Quit Windsurf — confirm no Windsurf process remains in Activity Monitor.
- Open Application Support/Windsurf — remove Electron
Cache,CachedData,Code Cache, and reviewlogs. - Clear Library/Caches — remove
com.exafunction.windsurfand ShipIt folders if present. - Trim ~/.windsurf and ~/.codeium — only cache/tmp/logs style trees; leave
cascadeand MCP config alone. - Relaunch Windsurf — expect a short re-cache on first open.
FAQ
Is it safe to clear Windsurf cache on Mac?
Yes for regenerable desktop caches, logs, and Codeium extension caches. Keep settings, MCP config, and Cascade chats.
Where is Windsurf cache stored on macOS?
Start with ~/Library/Application Support/Windsurf, ~/Library/Caches/com.exafunction.windsurf*, ~/.windsurf, and ~/.codeium.
Will cleaning Windsurf delete Cascade chats?
Not if you leave ~/.codeium/windsurf/cascade alone. AI Agent Clean protects that tree by default.
Automated cleanup with AI Agent Clean
v1.0.1 adds Windsurf to the AI Agent Cleaner module: desktop caches and logs default on; Cascade conversations stay off.
- Open AI Agent Clean and expand Windsurf.
- Review category sizes; leave Cascade unchecked.
- Clean — items move to Trash by default.
See pricing for the 7-day trial.
- Do not delete
User/settings.jsonorkeybindings.jsonunless resetting the IDE. - Do not treat the entire
~/.codeiumtree as disposable cache. - Back up Cascade if you ever opt into conversation cleanup.
Related guides and features
- AI Agent Cleaner — product page
- What’s New in 1.0.1
- Clear GitHub Copilot cache on Mac
- Clear Gemini CLI cache on Mac
- Clear Cursor cache on Mac
Preview Windsurf cache sizes locally — no cloud upload.
Try free for 7 days