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.
- Save your work and back up settings and local files you cannot recreate. Check that you can open the backup before making changes.
- Finish active AI tasks, builds and downloads. Quit the app and related background processes so they stop writing to these folders.
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.
| Category | Example locations | Impact 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/*/Cache | Web 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/pending | Old 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-vm | Only 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.bundle | This 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.
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
- 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.
- 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.
- 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.
- Trash still uses disk space. Empty it only after checking its contents and confirming that the app works; that removal is permanent.
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.
Stay tuned
AgentClean is currently available only for Mac. Other platforms aren’t available yet. Visit this site on a Mac to download.
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.