The short answer
- 01
Careful. The folder mixes rebuildable caches with Cursor's settings and its live state database.
- 02
Safe parts: Cache, CachedData, GPUCache and CachedExtensionVSIXs. Cursor rebuilds them.
- 03
Never delete User/globalStorage/state.vscdb or User/settings.json. Hoardless lists state.vscdb as Cursor's editor state, extension data and chat history.
- 04
Leftovers worth clearing with Cursor closed: state.vscdb.backup, and workspaceStorage folders for projects you deleted.
- 05
The command: quit Cursor, then rm -rf the four cache folders (see below). Permanent, skips the Trash.
See its real size on your Mac. Hoardless measures this folder and previews the delete.Download free trial
What is the Cursor folder in Application Support?
It is Cursor's data folder: everything the editor stores about you outside your projects. Cursor says it is based upon the VS Code codebase, and the folder follows the same layout as VS Code's ~/Library/Application Support/Code.
User:settings.json, keybindings, snippets, and two kinds of state:globalStorage/state.vscdbfor the whole editor andworkspaceStorage/<hash>for each workspace.- Cache folders:
Cache,CachedData,GPUCacheandCachedExtensionVSIXs.
The Hoardless path table describes state.vscdb as the editor's live global state database, covering settings sync, AI chat history and extension state. Cursor does not publish documentation of that file, so treat it as data you keep.
What writes it and why does it grow?
Cursor writes it while you work. The caches grow as the editor and its extensions run, and downloaded extension packages build up as extensions update.
- workspaceStorage keeps a folder per workspace you ever opened, each with a
workspace.jsonnaming the project folder. Deleting or moving a project leaves its folder behind. - state.vscdb.backup is a full copy of the global state database, so it grows with it.
How big does it get?
There is no normal size; it follows how long you have used Cursor and how many workspaces you opened. Measure the parts:
cd ~/Library/Application\ Support/Cursor && du -sh Cache CachedData GPUCache CachedExtensionVSIXs User/workspaceStorage User/globalStorage 2>/dev/null
Prints each part's size. Removes nothing.
grep -h '"folder"' ~/Library/Application\ Support/Cursor/User/workspaceStorage/*/workspace.json
Prints the project folder each workspace state belongs to, so you can spot projects that no longer exist. Read-only.
Is it safe to delete the Cursor folder?
| What | Verdict | What you lose |
|---|---|---|
Cache, CachedData, GPUCache, CachedExtensionVSIXs | Safe | Nothing permanent; Cursor rebuilds them. |
state.vscdb.backup, with Cursor closed | Safe | A backup copy; Cursor writes a new one. |
workspaceStorage folders of deleted projects | Safe | State for workspaces that no longer exist. |
All of workspaceStorage | Careful | Per-workspace state and extension data for live projects. |
User/globalStorage/state.vscdb | Never | Editor state, extension data and chat history. |
| The whole folder | Never | Your settings, keybindings, snippets and all state. |
How do I clear Cursor's cache?
Cursor has no command that empties these folders. Quit Cursor fully (Cmd+Q), then:
cd ~/Library/Application\ Support/Cursor && rm -rf Cache CachedData GPUCache CachedExtensionVSIXs
Deletes the four cache folders permanently, without the Trash. Leaves User alone.
The manual way: in Finder, press Shift+Cmd+G, open ~/Library/Application Support/Cursor and drag the same folders to the Trash. For dead workspaces, trash only the workspaceStorage folders whose workspace.json names a project you deleted.
What Hoardless does: its Cursor detector lists the four cache folders at the Auto tier. Only while Cursor is not running, it lists state.vscdb.backup and the workspaceStorage folders whose project folder no longer exists, both at the Confirm tier. A workspace on a drive that is not mounted, a remote workspace, or a folder it cannot read counts as present and is never listed. It never lists the live state.vscdb, settings, keybindings, snippets or extensions. Everything goes to the Trash after you review the plan, with an undo log.
What comes back and when?
Caches come back on the next launch and refill as you work. A new state.vscdb.backup appears after Cursor writes its next backup. State for deleted projects never returns, because nothing opens those workspaces again.
Clean Cursor without losing its state
Hoardless lists Cursor's caches (Auto tier), the state backup and state for deleted workspaces (Confirm, only while Cursor is closed), never the live state database, and moves what you pick to the Trash with an undo log.
14-day full trial. macOS 14 or later.
Questions
Will deleting the Cursor folder reset Cursor?
Yes. Deleting all of ~/Library/Application Support/Cursor removes your settings, keybindings and editor state, including what Cursor stores in state.vscdb. Clear only the cache folders instead.
Why does Cursor's folder look like VS Code's?
Cursor says it is based upon the VS Code codebase, so it uses the same layout: User for settings and state, and Cache, CachedData and GPUCache for caches.
Can I delete state.vscdb.backup in Cursor?
Yes, with Cursor closed. It is a backup copy of the global state database and Cursor writes a new one. Leave state.vscdb itself alone.
Does uninstalling Cursor remove this folder?
No. Dragging Cursor.app to the Trash leaves ~/Library/Application Support/Cursor in place until you remove it.
New guides by email
New guides and Hoardless releases, twice a month at most.
Confirm first. Unsubscribe in one click. Privacy.