Skip to content
How it worksSafetyPricingQuestions
FR · Français Download

Guides

Where Claude Code, Codex, Cursor and other AI coding agents store data on your Mac, what is safe to delete, and what you lose.

AI agent data

  • Where AI coding agents store data on your Mac, and what is safe to delete

    AI coding agents store conversations, caches and old versions in hidden folders: ~/.claude, ~/.codex, ~/.gemini, and Application Support for Cursor, Windsurf and Claude Desktop. Caches and old versions are safe to delete. Conversations are safe only if you won't resume them. Settings, memory and sign-in: never.

    Last checked 12 October 2026

  • Old Claude Code and Codex versions: are they safe to delete?

    Yes, as long as you keep the version in use. Claude Code keeps versions in ~/.local/share/claude/versions and runs the one ~/.local/bin/claude points to. Codex keeps them in ~/.codex/packages/standalone/releases and runs the one current points to. Your settings and sessions are elsewhere.

    Last checked 21 October 2026

  • OpenCode on Mac: what is in ~/.local/share/opencode and what you can delete

    OpenCode keeps sessions and snapshots in ~/.local/share/opencode and packages in ~/.cache/opencode. Logs, tool-output and the cache are safe to delete. Deleting snapshot breaks /undo for past sessions, and deleting storage loses those conversations. Never delete auth.json or ~/.config/opencode.

    Last checked 20 October 2026

  • GitHub Copilot CLI: what is in ~/.copilot and what you can delete

    GitHub Copilot CLI stores everything in ~/.copilot. The logs folder is safe to delete. session-state holds your saved sessions: deleting it frees the most space but they can no longer be resumed. Never delete config.json (sign-in), mcp-config.json, agents, skills or settings.json.

    Last checked 19 October 2026

  • Gemini CLI on Mac: what is in ~/.gemini

    Gemini CLI stores everything in ~/.gemini. Saved chats in tmp/ grow the most; one user found 46 GB. Checkpoints in history/ exist only if you enabled them. Deleting project folders in either leaves your files untouched. Keep oauth_creds.json, settings.json and GEMINI.md.

    Last checked 18 October 2026

  • Windsurf storage on Mac: Cascade history, caches, extensions

    Windsurf stores Cascade's conversations, memories and MCP setup in ~/.codeium/windsurf, editor caches in ~/Library/Application Support/Windsurf and extensions in ~/.windsurf/extensions. The caches and logs are safe to delete. Never delete the memories folder or mcp_config.json.

    Last checked 17 October 2026

  • Cline tasks and checkpoints: where they live and how to clean them

    Cline stores its data in saoudrizwan.claude-dev inside your editor's User/globalStorage folder. Checkpoints, hidden Git repositories behind Restore, grow the most. Deleting them leaves your files and Git history intact. Cache and puppeteer are safe to delete; keep settings and state.

    Last checked 16 October 2026

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

    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.

    Last checked 15 October 2026

  • Cursor on Mac: what takes space and what you can remove

    Cursor writes to ~/Library/Application Support/Cursor and ~/.cursor. Caches and logs are safe to delete. The chat database, User/globalStorage/state.vscdb, is what grows most: shrink it from the Command Palette, never delete it. Keep your settings, keybindings and mcp.json.

    Last checked 14 October 2026

  • What is in ~/.claude, and what is safe to delete

    ~/.claude grows mainly from conversations in projects/, old versions in ~/.local/share/claude/versions and file-history/. Caches, logs and old versions are safe to delete. Conversations are safe if you won't resume them. Never delete settings, CLAUDE.md, memory/ folders or your credentials.

    Last checked 12 October 2026

  • What is in ~/.codex, and what is safe to delete

    ~/.codex grows mainly from conversations in sessions/, stored by date, and from old versions in packages/. Caches, temporary files and logs are safe to delete. Old sessions are safe if you won't resume them. Never delete config.toml, AGENTS.md, memories or auth.json.

    Last checked 12 October 2026

Git worktrees

  • Git worktrees left by AI agents: which ones you can remove

    A worktree whose pull request or branch is merged, with no unsaved changes, can be removed with git worktree remove and loses nothing. An open pull request or unmerged branch needs a look. One with unsaved changes would lose that work. Claude Code keeps them in .claude/worktrees, Codex in ~/.codex/worktrees.

    Last checked 1 December 2026

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