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

Claude Desktop is using a lot of storage: what to delete

Last checked 15 October 2026

Claude Desktop stores its data in ~/Library/Application Support/Claude. The Cowork virtual machine in vm_bundles/ is the largest item, about 10 GB; it is downloaded again if you use Cowork. Caches and logs are safe to delete. Keep claude_desktop_config.json and config.json.

What Claude Desktop stores on your Mac

Claude Desktop keeps its data in ~/Library/Application Support/Claude, and its logs in ~/Library/Logs/Claude. Most of it is ordinary app cache. Two things are not: the virtual machine Cowork runs in, and the copies of Claude Code the app downloads for itself.

PathWhat it isVerdictWhat you lose
vm_bundles/Claude Desktop's virtual machine for CoworkReviewIt is downloaded again the next time Cowork is used
claude-code/, claude-code-vm/Versions of Claude Code the app keeps for Code sessionsReviewNothing for old versions, as long as you keep the newest one
scratch-workspaces/Temporary workspaces from Claude sessionsReviewAnything saved only there is lost
Cache/, Code Cache/, GPUCache/, DawnGraphiteCache/, DawnWebGPUCache/Temporary files of the appSafeNothing visible: Claude recreates them
logs/ and ~/Library/Logs/ClaudeClaude's internal logsSafeNothing visible
claude_desktop_config.json, config.json, Claude Extensions SettingsYour MCP servers, settings and extension settingsNever deleteYour setup

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

What grows the most

The Cowork virtual machine. Its disk image, vm_bundles/claudevm.bundle/rootfs.img, is about 10 GB, and users on the Claude Code issue tracker report bundles from 12 GB to 25 GB.

Anthropic's documentation describes vm_bundles/ as a cached copy of the VM that Cowork sessions run in, which also holds the disk with those sessions' home directories. Files Cowork created inside the VM, and that you never saved to a folder on your Mac, live there.

The other large items are the copies of Claude Code in claude-code/ and claude-code-vm/, one folder per version, which add up after a few updates.

To see it on your own Mac:

du -sh ~/Library/Application\ Support/Claude/* ~/Library/Logs/Claude 2>/dev/null | sort -h | tail -10
ls ~/Library/Application\ Support/Claude/claude-code ~/Library/Application\ Support/Claude/claude-code-vm 2>/dev/null

Nothing above deletes anything.

How to clean it by hand

Quit Claude Desktop first (Claude menu, Quit Claude). Cleaning files the app is writing to can corrupt them.

Safe items can be deleted directly:

cd ~/Library/Application\ Support/Claude
rm -rf Cache "Code Cache" GPUCache DawnGraphiteCache DawnWebGPUCache logs
rm -rf ~/Library/Logs/Claude

The Cowork virtual machine: if you do not use Cowork, deleting vm_bundles/ frees the most space. Before you do, copy out anything Cowork made that you want to keep. If you use Cowork again, the VM is downloaded again, so this is a one-time saving unless you stop using Cowork.

Old Claude Code versions: in claude-code/ and claude-code-vm/, keep the newest folder and delete the older ones.

What you should never delete

claude_desktop_config.json holds your MCP servers, config.json your app settings, and Claude Extensions Settings the settings of your desktop extensions. Deleting ~/Library/Application Support/Claude as a whole removes all of them and resets the app.

If you also use Claude Code in the terminal, its conversations are not in this folder: see what is in ~/.claude. 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. Your Claude Desktop configuration is never touched.

Questions

Is it safe to delete ~/Library/Application Support/Claude?

No. It holds your MCP servers, settings and extension settings next to the caches. Delete the cache folders and logs, never the whole folder.

What is vm_bundles in Claude Desktop?

The virtual machine Cowork runs in, about 10 GB. Deleting it frees the space, but it is downloaded again the next time you use Cowork, and files Cowork kept only inside the VM are lost.

Can I delete the claude-code folder in Claude Desktop?

You can delete the older version folders inside claude-code/ and claude-code-vm/. Keep the newest one.

Will clearing Claude Desktop's cache sign me out?

Clearing Cache, Code Cache, GPUCache and the Dawn caches does not remove your settings or MCP configuration. Claude recreates these folders.

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