DISABLE_TELEMETRY vs CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC
People think DISABLE_TELEMETRY stops all that Claude Code sends home. It stops only usage data and flags. Crash reports, updates, release notes and /feedback still go out. The NONESSENTIAL_TRAFFIC switch stops all of those at once. Only calls to the model are left. Use the first for privacy, and the second for a locked network.
DISABLE_TELEMETRY
Any value stops the usage data sent home.
DISABLE_TELEMETRY stops the usage data Claude Code sends home. Any value turns it on, even 0 or false. To send data again, unset it. It also stops the fetch of feature flags. DO_NOT_TRACK=1 does the same, but there 0 means send.
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC
Any value cuts each call Claude Code can do without.
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC stops each call Claude Code can do without. That means updates, usage data, crash reports, /feedback, release notes and flags. Any value turns it on, even 0. Calls to the model still go out. A few things that need flags stop, such as Remote Control.
In one line
- DISABLE_TELEMETRY
- Any value stops the usage data sent home.
- CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC
- Any value cuts each call Claude Code can do without.