Search the documentation
32 pages for --resume.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Rewind file changes with checkpointing
Claude Code CLI · in the page
agent-sdk/file-checkpointing
…e={null} CLAUDE_CODE_ENABLE_SDK_FILE_CHECKPOINTING=true claude -p --resume <session-id> --rewind-files <checkpoint-uuid> ``` The `--rewind-files` flag does not appear in `claude --help` o…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…uch as absorbed queued messages or task notifications, and names the `--resume-drops-turn` flag in the rejection message. Only the Agent SDK and print-mode resumes read the pair. Requires Claude Code…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…ude Code can't reopen the conversation, it exits and prints a `claude --resume` command that resumes it. [Claude's task list](/docs/en/interactive-mode#task-list) moves to the background session with…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…/sessions#resume-a-session) to pick up where you left off, or `claude --resume` to choose from a list. Give sessions descriptive names like `oauth-migration` so you can find them later. See [Manage se…
Claude Code changelog
Claude Code CLI · in the page
changelog
…`ScheduleWakeup` tool definition changing between a session and its `--resume` when the account had entered usage overage, causing a full prompt-cache miss on the resumed session's first turn * Fix…
Use Claude Code on the web
Claude Code CLI · in the page
claude-code-on-the-web
…remote-control) in the local session. `--teleport` is distinct from `--resume`. `--resume` reopens a conversation from this machine's local history and doesn't list cloud sessions; `--teleport` pulls…
CLI reference
Claude Code CLI · in the page
cli-reference
…ion transcript stays on your local machine, available through `claude --resume`…
Common workflows
Claude Code CLI · in the page
common-workflows
…ile a session is open. Tasks stop when you start a new conversation; `--resume` and `--continue` restore unexpired ones. | <Tip> When…
Manage costs effectively
Claude Code CLI · in the page
costs
…Background jobs that summarize previous conversations for the `claude --resume` feature * **Command processing**: Some commands like `/usage` may generate requests to check status These background pr…
Desktop application
Claude Code CLI · in the page
desktop
…| | `--resume`, `--continue` | Click a session in the sidebar…
Schedule recurring tasks in Claude Code Desktop
Claude Code CLI · in the page
desktop-scheduled-tasks
…| Yes | Restored on `--resume` if unexpired | | Access to local files | No (fresh clone) | Yes…
Environment variables
Claude Code CLI · in the page
env-vars
…ractive `claude` TUI started this way is automatically excluded from `--resume`, `--continue`, up-arrow history, and the `claude agents` list. Non-interactive `claude -p` sessions still persist. Set `…
Error reference
Claude Code CLI · in the page
errors
…your Remote Control session. Retry, or start a fresh session without --resume. ``` Resuming with `claude --resume` or `claude --continue` reconnects to the [Remote Control](/docs/en/remote-control)…
Keep Claude working toward a goal
Claude Code CLI · in the page
goal
…ended. Claude Code restores it on every resume route: `--continue`, `--resume` with a session ID or name, and the [session picker](/docs/en/sessions#use-the-session-picker). Before v2.1.239, Claude C…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…tions Use `--continue` to continue the most recent conversation, or `--resume` with a session ID to continue a specific conversation. `--continue` skips [background sessions](/docs/en/sessions#resume…
Hooks reference
Claude Code CLI · in the page
hooks
…ToolUse` or `UserPromptSubmit`, when you resume with `--continue` or `--resume`, Claude Code replays the saved text rather than re-running the hook for past turns, so values like timestamps or commit…
How Claude Code works
Claude Code CLI · in the page
how-claude-code-works
…fork sessions Resuming a session with `claude --continue` or `claude --resume` reopens it under the same session ID and appends new messages to the existing conversation. Forking with `--fork-session…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…xt time you launch into a session that still has tasks, such as with `--resume` or `--continue`. When the task list is empty, Claude Code starts it collapsed * To see all tasks or clear them, ask Clau…
Model configuration
Claude Code CLI · in the page
model-config
…odel than the one it selected. Resumed sessions started with `claude --resume`, `--continue`, or the `/resume` picker keep the model they were using when the transcript was saved, regardless of the c…
Configure permissions
Claude Code CLI · in the page
permissions
…the moved session](/docs/en/sessions#resume-a-session) when you run `--resume` from the new directory. The `/cd` command requires Claude Code v2.1.169 or later. As soon as you move, Claude Code appl…
Continue local sessions from any device with Remote Control
Claude Code CLI · in the page
remote-control
…Claude app, Claude Code also updates the local title shown in `claude --resume`. Claude Code applies the same rename to the session name shown on the prompt bar, and in the `claude agents` listing whe…
Run prompts on a schedule
Claude Code CLI · in the page
scheduled-tasks
…urrent conversation and stop when you start a new one. Resuming with `--resume` or `--continue` brings back any task that hasn't [expired](#seven-day-expiry): a recurring task created within the last…
Test self-hosted environments end to end
Claude Code CLI · in the page
self-hosted-environments-testing
…ith flags that resume, attach to, or preconfigure a session, such as `--resume`, `--continue`, `--teleport`, `--session-id`, or `--init-only`. `--cloud` is rejected with a session ID or URL, and in no…
Manage sessions
Claude Code CLI · in the page
sessions
…, and switch between Claude Code conversations. Covers `--continue`, `--resume`, `--from-pr`, the `/resume` picker, session naming, exporting transcripts, and where transcripts are stored. A session…
Tools reference
Claude Code CLI · in the page
tools-reference
…within the current session. Tasks are session-scoped and restored on `--resume` or `--continue` if unexpired. See [scheduled tasks](/docs/en/scheduled-tasks)…
Troubleshooting
Claude Code CLI · in the page
troubleshooting
…l and restart Restarting doesn't lose your conversation. Run `claude --resume` in the same directory to pick the session back up. ### Garbled or corrupted text in an editor's integrated terminal If…
Use Claude Code in VS Code
Claude Code CLI · in the page
vs-code
…and the commands on this page, including `claude mcp add` and `claude --resume`, work in any terminal. If `claude` is still not found after installing, [verify your PATH](/docs/en/troubleshoot-install…
Week 14 · March 30 – April 3, 2026
Claude Code CLI · in the page
whats-new/2026-w14
…oad so an SDK app or custom UI can surface it, then resume with <code>--resume</code></div> <div><code>/buddy</code>: hatch a small creature that watches you code. An April Fools' joke, no longer…
Week 24 · June 8–12, 2026
Claude Code CLI · in the page
whats-new/2026-w24
…pt. The session relocates to the new directory's project storage, so `--resume` and `--continue` find it there. Claude prompts you to trust the directory if you haven't worked in it before.</p> <p…
Orchestrate subagents at scale with dynamic workflows
Claude Code CLI · in the page
workflows
…ectory in `~/.claude/projects/`, so a session you resume with `claude --resume` can replay them when you ask Claude to relaunch the workflow, while a session you start fresh has nothing to replay and…
Run parallel sessions with worktrees
Claude Code CLI · in the page
worktrees
…t worktree. This holds for interactive resumes, for `--continue` and `--resume` in [non-interactive mode](/docs/en/headless) with `-p`, and for the Agent SDK. Back inside the worktree, Claude can stil…
Changelog
Claude Documentation · in the page
cowork/changelog
…Code CLI sessions changing the order of existing sessions in `claude --resume`. * Fixed sessions failing to resume, reporting their conversation history as missing, after Claude had moved the sessi…