Search the documentation
2 pages for claude_code_enable_sdk_file_checkpointing.
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
…ting for you, but when you run `claude -p` directly you must set the `CLAUDE_CODE_ENABLE_SDK_FILE_CHECKPOINTING` environment variable: ```bash theme={null} CLAUDE_CODE_ENABLE_SDK_FILE_CHECKPO…
Claude Code settings reference
Claude Code CLI · in the page
settings-reference
…with its `enableFileCheckpointing` option, and a bare `-p` run needs `CLAUDE_CODE_ENABLE_SDK_FILE_CHECKPOINTING=true`. See [File checkpointing in the Agent SDK](/docs/en/agent-sdk/file-checkpointing).…