CLAUDE_CODE_EVAL_ALLOW_FLAG_OVERRIDES
Updated by Alex Sorokoletov
CLAUDE_CODE_EVAL_ALLOW_FLAG_OVERRIDES is a Claude Code environment variable: Comma-separated list of feature-flag names an eval run may override; listed flags are applied from the eval config and the rest are dropped. Defaults to empty. Added between v2.1.229 and v2.1.234 and still present in v2.1.332. It is not in the official reference.
| Status | Present in v2.1.332 |
|---|---|
| Added | Added between v2.1.229 and v2.1.234 |
| Category | Terminal and UI |
| Official docs | Not listed |
How to set it
For one session, export it in the shell that starts Claude Code:
export CLAUDE_CODE_EVAL_ALLOW_FLAG_OVERRIDES=<value>
claudeTo apply it to every session, add it to the env object of a settings file:
// ~/.claude/settings.json
{
"env": {
"CLAUDE_CODE_EVAL_ALLOW_FLAG_OVERRIDES": "<value>"
}
}Related variables
CLAUDE_INTERNAL_FC_OVERRIDES: Internal overrides for function-call (tool-use) behavior.CLAUDE_AX_ANNOUNCEMENT_HOLD_MS: Milliseconds to hold a screen reader announcement when a hold is requested; defaults to 1000 and is capped at 10000.CLAUDE_AX_PREPARK_MSCLAUDE_AX_SCREEN_READERCLAUDE_AX_STARTUP_QUIET_MS: Startup quiet window (milliseconds) for screen-reader mode.CLAUDE_CODE_ACCESSIBILITY: Enable accessibility mode; disables cursor hiding.CLAUDE_CODE_ALT_SCREEN_FULL_REPAINTCLAUDE_CODE_BLOCKING_LIMIT_OVERRIDE: Override token limit for input blocking.
Frequently asked questions
What does CLAUDE_CODE_EVAL_ALLOW_FLAG_OVERRIDES do?
Comma-separated list of feature-flag names an eval run may override; listed flags are applied from the eval config and the rest are dropped. Defaults to empty.
Which Claude Code version has CLAUDE_CODE_EVAL_ALLOW_FLAG_OVERRIDES?
Added between v2.1.229 and v2.1.234 and still present in v2.1.332.
How do I set CLAUDE_CODE_EVAL_ALLOW_FLAG_OVERRIDES?
Export it before starting Claude Code (export CLAUDE_CODE_EVAL_ALLOW_FLAG_OVERRIDES=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.