GrepBoard/Manuals
605 manuals ·

Claude Code DISABLE_TELEMETRY Also Turns Off Feature Flags

·Tested on Claude Code official docs (env-vars, remote-control) · 2026-11·Test scope ↓·7 steps

DISABLE_TELEMETRY stops more than analytics: it also stops feature-flag fetching. Four variables do this and 16 features need it. Find which one is set.

If a command or feature went missing after you set DISABLE_TELEMETRY=1, the cause is in the variable's own row in the official env-vars doc: it also turns off feature-flag fetching. The last sentence of that row:

output
Also disables feature-flag fetching.

Claude Code switches some features on with feature flags it fetches from Anthropic. When fetching is off, features that depend on a flag are unavailable.

[1] Four variables turn fetching off. The doc names them at the top of "Features that need feature-flag fetching":

VariableValue that turns it onWhat the doc says
DISABLE_TELEMETRYany non-empty value0 or false still opts out. Unset it to turn telemetry back on
DO_NOT_TRACK1Same effect as DISABLE_TELEMETRY. A standard boolean, so 0 leaves telemetry on
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFICany non-empty valueDisables auto-updates, telemetry, error reporting, /feedback, release notes and other nonessential traffic. 0 or false still disables
CLAUDE_CODE_DISABLE_FEATURE_FLAGS1Turns off fetching only (telemetry logging stays on). Requires v2.1.319 or later

The older name DISABLE_GROWTHBOOK still works for CLAUDE_CODE_DISABLE_FEATURE_FLAGS, and the doc says it is the only name v2.1.124 through v2.1.318 read.

Two kinds of session skip the fetch with no variable set: a session on a third-party provider (Amazon Bedrock, Claude Platform on AWS, Google Cloud's Agent Platform, Microsoft Foundry; a host platform that embeds Claude Code and sets CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST is the exception), and a Claude apps gateway session.

[2] With fetching off, the doc lists 16 things you can't do. In the doc's order, in the words you see on screen:

#UnavailableCondition or note in the doc
1Remote ControlSessions with fetching off. Differences by variable in [3]
2Messaging sessions on other machinesWhen Remote Control is unavailable. Sessions on the same machine still work
3claude import and /import
4/skill-doctor and its report in the /plugin Stats tab
5/restartPro, Max and Ultra plans
6Syncing skills and plugins from your claude.ai account into terminal sessions
7Turning on the "You should know" mod
8The advisor toolException: v2.1.300 or later on Claude Platform on AWS or Claude Models on Google Cloud (Anthropic managed)
9MCP tasks
10Turning on Code Mode
11Reading or replying to comments on an artifact
12Having Claude read another organization's public artifact
13The PowerShell tool by defaultclaude.ai and Console accounts on Windows with Git Bash. Shell commands go through Git Bash unless CLAUDE_CODE_USE_POWERSHELL_TOOL=1. Without Git Bash the tool stays on
14Claude-drafted feedbackTurned on through a fetched flag
15Treating large pastes as pasted rather than typed textThe content behind a [Pasted text #N] placeholder reaches Claude unmarked
16Excluding MCP tools whose input schema the API would reject

[3] Remote Control depends on which variable you set ("Requirements" in the Remote Control doc):

Variable setRemote Control
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC, CLAUDE_CODE_DISABLE_FEATURE_FLAGSUnavailable. Unset it in both your shell and the env block of settings.json
Only DISABLE_TELEMETRY or DO_NOT_TRACKAvailable, unless your organization requires Trusted Devices (then unset the variable). Needs v2.1.283 or later, or v2.1.304 or later in the Claude Desktop app

[4] A report says a model is missing from the model list. The issue is titled "DISABLE_TELEMETRY hides Fable 5.2 from the /model picker because feature flags are ignored". The author put the variable in the env block of settings.json, saw the Fable row show 5.1 in /model, and saw 5.2 once it was removed. The issue was open on 11/16. This article did not reproduce it, and the 16 items above don't mention the model list. Issue: https://github.com/anthropics/claude-code/issues/108726

[5] Find which variable is set. First the shell:

console
$ env | grep -E '^(DISABLE_TELEMETRY|DO_NOT_TRACK|CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC|CLAUDE_CODE_DISABLE_FEATURE_FLAGS|DISABLE_GROWTHBOOK)='

If you see DO_NOT_TRACK=0, ignore it: with 0, telemetry stays on. Then the env block in three settings files:

console
$ grep -nE 'DISABLE_TELEMETRY|DO_NOT_TRACK|DISABLE_NONESSENTIAL_TRAFFIC|DISABLE_FEATURE_FLAGS|DISABLE_GROWTHBOOK' ~/.claude/settings.json .claude/settings.json .claude/settings.local.json

"DO_NOT_TRACK": "0" doesn't count here either. A file that prints No such file was not checked. With CLAUDE_CONFIG_DIR, user settings live in that folder instead of ~/.claude. Organization-managed settings are not covered by this command.

[6] If you need a feature, remove the variable and restart Claude Code. Back up the settings file first, and to undo, copy the .bak back:

console
$ cp ~/.claude/settings.json ~/.claude/settings.json.bak

The docs don't describe a way to keep telemetry off while keeping flags on. The only direction they describe is CLAUDE_CODE_DISABLE_FEATURE_FLAGS, which turns off fetching alone.

[7] If no variable is set and a flag feature is still missing, it may be the first session. In the first session after an install, or after an upgrade to a version that adds a feature, a flag-gated feature can be missing; Claude Code saves the flags it fetches then, so the next session has it. These setups act like a first session every time:

  • A clean environment on every run, such as a CI container with no flags saved earlier.
  • ANTHROPIC_AUTH_TOKEN with no API key, while ANTHROPIC_BASE_URL points at a host other than Anthropic's, such as an LLM gateway. There is no credential to fetch flags with.

For gateway limit problems see Claude Code "spend limit reached" behind a gateway. If auto-updates stopped (CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC also disables them), see Claude Code auto-update failed and claude doctor.

#claude-code#telemetry#feature-flags#env-vars