Local cleanup on Mac

Windsurf Cleaner for Mac

Windsurf can accumulate editor caches and crash reports alongside valuable AI context. Inspect those categories separately before freeing space.

Review firstKeep important dataConfirm cleanup

Scanning and review are free. Permanent cleanup requires an active subscription.

Windsurf
Editor and web cachesCaches can be rebuilt; the next launch or page load may take longer.Rebuildable
Logs and crash reportsRemoving diagnostics can make a current support investigation harder.Diagnostics
Cascade memoriesRemoving memories can lose remembered project context.Review carefully

Understand the local data

Windsurf is an AI coding editor. Its local data includes regenerable caches, diagnostic files and remembered context for Cascade. Clearing caches does not require deleting the whole Application Support folder or your source repositories.

What AgentClean can scan

These are examples from the current Mac rules. Available items depend on installed versions, age checks and your scan results.

Rebuildable

Editor and web caches

Caches can be rebuilt; the next launch or page load may take longer.

View paths and conditions

The bundle cache uses an age condition of seven days. Only the named cache subfolders and Service Worker/CacheStorage are candidates inside Application Support.

~/Library/Caches/Windsurf~/Library/Caches/com.exafunction.windsurf~/Library/Application Support/Windsurf/Cache~/Library/Application Support/Windsurf/Code Cache~/Library/Application Support/Windsurf/GPUCache~/Library/Application Support/Windsurf/Service Worker/CacheStorage
Diagnostics

Logs and crash reports

Removing diagnostics can make a current support investigation harder.

View paths and conditions

Crashpad candidates must be at least one day old. Keep relevant logs until a problem is resolved.

~/Library/Logs/Windsurf~/Library/Application Support/Windsurf/Crashpad/completed~/Library/Application Support/Windsurf/Crashpad/pending
Review carefully

Cascade memories

Removing memories can lose remembered project context.

View paths and conditions

The memories folder is a caution item. It is not interchangeable with a cache, and this rule does not claim to clear all Cascade conversation history.

~/.codeium/windsurf/memories

Paths identify candidate locations, not instructions to delete entire folders. A missing folder is normal for some versions.

What to keep

Keep source projects, User settings, extension data and workspace state. The parent .codeium/windsurf folder may hold data beyond memories; do not delete it wholesale.

  • ~/Library/Application Support/Windsurf/User
  • ~/.windsurf
  • ~/.codeium/windsurf

Back up important data before confirming. Permanent cleanup cannot be undone in AgentClean; a whitelist helps protect files you need.

A careful cleanup workflow

  1. 01

    Finish and quit

    Save your work, finish active tasks and quit the app and related background processes.

  2. 02

    Scan and inspect

    Find this tool in AgentClean. Expand candidates and compare paths, sizes and cautions.

  3. 03

    Select deliberately

    Keep settings and active work. Leave uncertain items unselected and protect important paths.

  4. 04

    Verify the result

    After confirming cleanup, reopen the app and check your work. Compare free space on the same volume.

Common questions

Will this delete my code?

The listed rules target specific local tool data. Keep your source repositories and review every selected path. Never select a project folder merely because it is large.

Can I delete all of .codeium/windsurf?

No. Only its memories subfolder is listed here as a caution candidate. Removing the parent directory can affect other local state.

Are Cascade memories the same as caches?

No. Memories can contain useful project context. Back them up or leave them unselected if you still need that context.

Why does the cache return?

Windsurf recreates caches during normal use. Regrowth is expected, and the amount reclaimed depends on actual local files.

Official references

See what is taking up space

Scan locally, inspect the candidates and choose only the data you no longer need.