macOS cleanup guides / Claude Desktop cleanup

How to clean Claude Desktop data on Mac safely

Claude Desktop’s local storage can include web caches, diagnostics and embedded runtimes. Measure these separately from configuration and task data before deciding what to remove.

A runtime or VM bundle is not an ordinary cache

Preserve claude_desktop_config.json, MCP configuration, authentication and active task data. Do not clear all Application Support/Claude or the VM bundle. The standalone Claude Code CLI uses separate data that needs its own review.

Scan and review with AgentClean

Scan this tool in AgentClean, expand the results and compare paths, sizes and caution notes. Select only items you no longer need; leave uncertain items unselected and protect important paths with a whitelist.

Protect your work first

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

01 / Protect your work first

Protect your work first

Finish local tasks and back up the Claude Desktop configuration file and work you need. Record the MCP servers you use so you can verify them after restarting.

  1. Save your work and back up settings and local files you cannot recreate. Check that you can open the backup before making changes.
  2. Finish active AI tasks, builds and downloads. Quit the app and related background processes so they stop writing to these folders.
What to keep

Preserve claude_desktop_config.json, MCP configuration, authentication and active task data. Do not clear all Application Support/Claude or the VM bundle. The standalone Claude Code CLI uses separate data that needs its own review.

02 / Separate caches from useful local data

Separate caches from useful local data

Claude Desktop and the standalone Claude Code CLI have separate data locations. Desktop caches may be regenerated, while configuration, local task files and virtual-machine resources can be needed to resume work. This page covers the Desktop group.

Separate caches from useful local data
CategoryExample locationsImpact and conditions
Application and partition caches~/Library/Caches/Claude · ~/Library/Caches/com.anthropic.claudefordesktop · ~/Library/Application Support/Claude/Cache · ~/Library/Application Support/Claude/Code Cache · ~/Library/Application Support/Claude/GPUCache · ~/Library/Application Support/Claude/Partitions/*/CacheWeb and graphics caches may be recreated on the next launch. The bundle cache has a seven-day age condition. Partition rules select named cache subfolders, not all partition storage.
Logs and diagnostics~/Library/Logs/Claude · ~/Library/Application Support/Claude/sentry · ~/Library/Application Support/Claude/Crashpad/completed · ~/Library/Application Support/Claude/Crashpad/pendingOld reports can be removed after you no longer need them for troubleshooting. Crashpad entries use a one-day age condition. Keep logs or reports needed by support.
Updates and old runtime versions~/Library/Caches/com.anthropic.claudefordesktop.ShipIt · ~/Library/Application Support/Claude/claude-code · ~/Library/Application Support/Claude/claude-code-vmOnly versions selected by the retention checks are candidates. ShipIt update cache uses a seven-day age condition. Runtime cleanup requires both claude-code and claude-code-vm directories and checks .sdk-version with a keep-one policy. Do not apply that policy by deleting either entire directory.
Virtual-machine system resources~/Library/Application Support/Claude/vm_bundles/claudevm.bundleThis is a caution item and may affect local tasks or require resources to be downloaded again. The product uses a dedicated VM handler with a one-day threshold. A bundle path is not permission to remove the entire virtual machine; inspect the candidates returned by the scan.

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

03 / Measure the actual disk usage

Measure the actual disk usage

In Finder, choose Go → Go to Folder (⇧⌘G) and open one verified path at a time. Get Info shows its size. The Terminal commands below only measure directories and free space; they do not delete files.

Read directory sizes and the home volume’s free space
du -sh "$HOME/Library/Application Support/Claude" "$HOME/Library/Caches/Claude" "$HOME/Library/Logs/Claude"
df -h "$HOME"

A missing folder is normal for some versions. A permission error is not a measurement of zero. Application Support totals include useful data as well as caches, so they are not a promise of recoverable space. Do not add parent and child sizes together.

04 / Clear selected caches in Finder

Clear selected caches in Finder

  1. After quitting the app, open its Application Support folder with Finder’s Go to Folder. Confirm the tool name and the exact folder before proceeding.
  2. For a manual cache cleanup, select only Cache, Code Cache or GPUCache if present. Move one selected cache folder to Trash, keeping the parent folder and other data intact.
  3. Reopen the app, load a project or task, and check that settings and integrations work. If something fails, quit the app and restore the removed folder from Trash or your backup.
  4. Trash still uses disk space. Empty it only after checking its contents and confirming that the app works; that removal is permanent.
A runtime or VM bundle is not an ordinary cache

Do not manually prune claude-code, claude-code-vm or vm_bundles using these cache steps. AgentClean checks .sdk-version and both runtime directories with a keep-one policy. VM resources require a separate caution check with a one-day threshold; ShipIt update cache has a seven-day condition. In Partitions, inspect only named cache subfolders and preserve other storage.

05 / Reopen the app and check free space

Reopen the app and check free space

Reopen Claude Desktop, verify your account, MCP servers and local tasks. Runtime or VM resources may require a fresh download. If an integration fails, check the retained configuration before removing any more data.

The first launch can be slower while caches rebuild. Repeat the measurements on the same volume; retained Trash, APFS snapshots and files still open in a process can delay a visible increase in free space. Rebuilding caches can consume some of the reclaimed space again.

06 / Tool coverage and official references

Tool coverage and official references

Scan and review with AgentClean

See what is taking up space

Scan this tool in AgentClean, expand the results and compare paths, sizes and caution notes. Select only items you no longer need; leave uncertain items unselected and protect important paths with a whitelist.

Scanning and review are free. Cleanup requires an active subscription and permanently deletes files without sending them to Trash. Coverage depends on the installed version, age conditions and the scan results.

View supported tools · See each tool’s coverage and what you need to keep.

Frequently asked questions

A few more things to check

Does clearing caches delete cloud conversations?

The listed cleanup targets local files and does not issue cloud conversation deletion requests. This is not a guarantee that all local task data is disposable.

Can I delete the Claude VM bundle manually?

Do not treat the whole bundle as cache. It may be needed for active local work. Use the scan’s specific candidates and caution notes, after finishing tasks and backing up important data.

Will MCP settings be removed?

The configuration file is not a cache in this page’s scope. Preserve claude_desktop_config.json and review paths before confirming.

Is this the same as cleaning Claude Code?

No. The Desktop app can hold embedded runtimes, while the standalone CLI has its own data. Review each group and its paths separately.