CLEANUAI · CY-01 PT Download

Guides · macOS

CLAUDE CURSOR AND VS CODE CACHES

Short answer

Claude, Cursor and VS Code keep their caches in ~/Library/Application Support, in each app’s Cache, Code Cache and CachedData folders, and rebuild them by themselves. With the app closed, you can delete those folders without losing conversations or settings. Old git worktrees leave through git worktree remove, never by deleting the folder by hand.

Where they are

  • Claude: ~/Library/Application Support/Claude/Cache and Code Cache.
  • Cursor: ~/Library/Application Support/Cursor/CachedData.
  • VS Code: ~/Library/Application Support/Code/CachedData, CachedExtensionVSIXs and Cache.

Quit the app first. While it’s open, it rebuilds the files right away or may get confused by their absence.

What never to delete

  • The tools’ conversation, settings and memory folders.
  • User in VS Code and Cursor: that’s where settings, keybindings and editor state live.
  • Downloaded models, like the Hugging Face folder in ~/.cache: they’re big and slow to download again.

Old worktrees

Coding tools create a git worktree per task, and they stay on disk after the work is done. To see yours, run git worktree list inside the repository. To remove one, use git worktree remove and its path: git refuses if there are uncommitted changes. Then git worktree prune clears the records of worktrees whose folders are gone.

Deleting a worktree’s folder from the Finder leaves its record in the repository and can take files git ignores, like a local .env, with it.

With CleanUai

In the System Junk channel, the AI tools group shows these caches with their size and unchecks an app that’s open. A worktree is only offered when it’s clean, already on the default branch, with nothing running inside and idle for over 24 hours, and it leaves through git itself, without --force.

Step by step

  1. Quit Claude, Cursor or VS Code.
  2. In the Finder, press ⇧⌘G and type ~/Library/Application Support.
  3. Open the app’s folder and move Cache, Code Cache or CachedData to the Trash.
  4. For worktrees, run git worktree list and remove the finished ones with git worktree remove.
  5. Open the app again: it rebuilds what it needs.

Questions

Does clearing Claude’s cache delete my conversations?

No. Conversations live in your account and in other folders. The cache is only a temporary copy the app rebuilds.

Why does VS Code take so much space?

Its data and extension caches grow with every update, and old versions are kept in CachedData and CachedExtensionVSIXs.

Can I lose code by removing a worktree?

With git worktree remove and no --force, git refuses if there are uncommitted changes. Still, check files git ignores, like a .env, because they go with it.

See also

Other guides

Updated

Free trial · 7 days

DOWNLOAD AND TRY IT FOR 7 DAYS

Everything unlocked from minute one: all twelve channels, the agent and unlimited cleanups.

To get CleanUai news and new versions. Unsubscribe anytime. Privacy

Apple Silicon and IntelmacOS

Mac This Mac

Version 1.6.0

DOWNLOAD .DMG

Not sure which PC you have? In Settings › System › About, look at System type. If in doubt, x64.