CLAUDE_CODE_TURN_UPDATES
Updated by Alex Sorokoletov
CLAUDE_CODE_TURN_UPDATES is a Claude Code environment variable: When enabled, switches the user-communication instructions to the turn-updates variant. Added in v2.1.229 and still present in v2.1.332. It is not in the official reference.
| Status | Present in v2.1.332 |
|---|---|
| Added | Added in v2.1.229 |
| Category | Other |
| Official docs | Not listed |
How to set it
For one session, export it in the shell that starts Claude Code:
export CLAUDE_CODE_TURN_UPDATES=<value>
claudeTo apply it to every session, add it to the env object of a settings file:
// ~/.claude/settings.json
{
"env": {
"CLAUDE_CODE_TURN_UPDATES": "<value>"
}
}Related variables
CLAUDE_CODE_CCR_FOLD_FIRST_TURN_RESCAN: When set and plugin startup is still pending, folds the first-turn command rescan into the plugin state refresh instead of running a separate command refresh.CLAUDE_CODE_FILE_READ_MAX_PDF_PAGES_PER_TURN: Caps the running total of PDF pages the Read tool loads across a turn, working with the per-message cap above.CLAUDE_CODE_PER_TURN_TIMING: When set, enables per-turn timing for models that support it; without it the feature stays off.CLAUDE_CODE_SILENT_TURN_REMINDER: Toggles an injected reminder that fires after several turns with no update to the user, prompting Claude to report a finding or a change of plan.CLAUDE_CODE_SILENT_TURN_REMINDER_SECONDS: Set the number of seconds of silence before the silent-turn reminder fired; when unset, a configured setting applied.CLAUDE_CODE_SILENT_TURN_REMINDER_TEXT: Overrides the text of the silent-turn reminder (the nudge injected after turns that produce no output).CLAUDE_CODE_SILENT_TURN_REMINDER_TURNS: Sets how many silent turns pass before the reminder fires.ANTHROPIC_BETAS: Comma-separated beta feature headers.
Frequently asked questions
What does CLAUDE_CODE_TURN_UPDATES do?
When enabled, switches the user-communication instructions to the turn-updates variant.
Which Claude Code version has CLAUDE_CODE_TURN_UPDATES?
Added in v2.1.229 and still present in v2.1.332.
How do I set CLAUDE_CODE_TURN_UPDATES?
Export it before starting Claude Code (export CLAUDE_CODE_TURN_UPDATES=value), or add it to the "env" object in ~/.claude/settings.json to apply it to every session.
All variables, searchable: Claude Code environment variables.