Skip to content
How it worksSafetyPricingQuestions
FR · Français Download
← Where AI coding agents store data on your Mac, and what is safe to delete

Windsurf storage on Mac: Cascade history, caches, extensions

Last checked 17 October 2026

Windsurf stores Cascade's conversations, memories and MCP setup in ~/.codeium/windsurf, editor caches in ~/Library/Application Support/Windsurf and extensions in ~/.windsurf/extensions. The caches and logs are safe to delete. Never delete the memories folder or mcp_config.json.

What Windsurf stores on your Mac

Windsurf writes in three places. ~/.codeium/windsurf holds Cascade's conversations, memories and MCP configuration. ~/Library/Application Support/Windsurf holds the editor's caches, logs and per-project state, like any VS Code fork. ~/.windsurf/extensions holds your extensions.

PathWhat it isVerdictWhat you lose
~/.codeium/windsurf/cascadeYour past Cascade conversationsReviewThey disappear from Cascade's history; your code is not modified
Cache/, CachedData/, Code Cache/, GPUCache/, CachedExtensionVSIXs/Temporary files of the editorSafeNothing visible: Windsurf recreates them
logs/Windsurf's internal logsSafeNothing visible
User/workspaceStorage/Per-project state of Windsurf, including chat historyReviewPast conversations may be lost
~/.windsurf/extensionsYour installed extensionsReviewThey would need to be reinstalled
~/.codeium/windsurf/memories, ~/.codeium/windsurf/mcp_config.jsonCascade memories, global rules and MCP serversNever deleteYour setup
User/settings.json, User/keybindings.jsonYour settings and shortcutsNever deleteYour setup

Paths without ~ are inside ~/Library/Application Support/Windsurf.

What grows the most

It depends on how you use Windsurf. Long Cascade sessions fill ~/.codeium/windsurf/cascade, and opening many projects fills User/workspaceStorage/, which gets one folder per project.

Memories are worth knowing about before you clean anything. Windsurf's documentation says they are stored in ~/.codeium/windsurf/memories/, live only on your machine, and sit next to global_rules.md, the rules Cascade applies in every workspace. They are not in your repository, so deleting that folder loses them for good.

To see which folder is the largest on your Mac:

du -sh ~/.codeium/windsurf/* ~/.windsurf/* 2>/dev/null | sort -h | tail -10
du -sh ~/Library/Application\ Support/Windsurf/* 2>/dev/null | sort -h | tail -10

Nothing above deletes anything.

How to clean it by hand

Quit Windsurf first. Cleaning files an open window is writing to can corrupt them.

Safe items can be deleted directly:

cd ~/Library/Application\ Support/Windsurf
rm -rf Cache CachedData "Code Cache" GPUCache CachedExtensionVSIXs logs

Cascade conversations: deleting items in ~/.codeium/windsurf/cascade removes those conversations from Cascade's history. Your code is not modified. Keep the ones you may want to reopen.

Workspace storage: each folder in User/workspaceStorage/ belongs to one project. Removing the folders of projects you no longer open frees space, but their conversations may be lost.

Extensions: removing folders in ~/.windsurf/extensions frees space, and those extensions would need to be reinstalled. Uninstalling them from inside Windsurf is cleaner.

What you should never delete

~/.codeium/windsurf/memories holds Cascade's memories and global_rules.md, and ~/.codeium/windsurf/mcp_config.json your MCP servers. User/settings.json and User/keybindings.json are your settings and shortcuts. Deleting ~/.codeium or ~/Library/Application Support/Windsurf as a whole removes them.

Cursor is built on the same base and has the same caches: see what takes space in Cursor. If you also run Cline inside Windsurf, see Cline tasks and checkpoints. For every other agent, see where AI coding agents store data on your Mac.

Doing it with Ouste

Ouste reads these folders, classifies every item as Safe, Review, Risky or Protected with the sentence that says what you lose, and puts anything you might regret in a 7-day quarantine you can restore in one click. Cascade's memories, your rules, MCP servers and settings are never touched.

Questions

Where does Windsurf store Cascade conversations on Mac?

In ~/.codeium/windsurf/cascade. The editor's caches and per-project state are in ~/Library/Application Support/Windsurf, and extensions in ~/.windsurf/extensions.

Is it safe to delete ~/.codeium?

No. It holds Cascade's memories, your global rules and your MCP servers next to the conversations. Delete only the items you have reviewed in the cascade folder.

Where are Windsurf memories stored?

In ~/.codeium/windsurf/memories, on your Mac only, next to global_rules.md. They are not in your repository, so deleting the folder loses them.

Can I delete Windsurf's cache folders?

Yes. Cache, CachedData, Code Cache, GPUCache, CachedExtensionVSIXs and logs in ~/Library/Application Support/Windsurf are recreated by Windsurf. Quit it first.

Ouste does this for you. It finds what your agents leave behind, says what each item is and what you lose, and puts anything you might regret in a 7-day quarantine. Free to scan and clean.

Download Ouste

macOS 14 or later · Apple Silicon

Less noise. More control.

Product

  • How it works
  • Safety
  • Pricing
  • Questions

Information

  • Legal notice and terms
  • Privacy
  • Guides
  • contact@ouste.space

Language

  • Français
  • English
© 2026 Ouste. Published by Adeo Consulting, Paris. macOS 14 or later · Apple Silicon