{"name":"DISABLE_TELEMETRY","slug":"disable-telemetry","family":"env","title":"Environment variables","noun":"environment variable","description":"Editors and SDK hosts are told when telemetry is off so they can match.","description_source":"entry","described_by":{"version":"2.1.242","anchor":"ide-and-sdk-hosts-are-told-when-telemetry-is-off-for-the-ses"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":150,"mined_builds":150,"first_cited":{"version":"2.1.283","released_at":"2026-09-25 18:46:11","spans":1}},"aliases":[],"entries":[{"version":"2.1.287","anchor":"telemetrygrowthbook-env-vars-added-to-a-list-likely-env-al","heading":"Telemetry and feature-flag environment variables are gathered in a new list","line":"Claude Code now keeps a list of the environment variables that affect telemetry and feature flags","released_at":"2026-10-01 16:59:25","reason":"found in this entry's text"},{"version":"2.1.283","anchor":"remote-control-no-longer-needs-the-feature-flag-for-subscrib","heading":"Remote Control works for paid subscribers who turned telemetry off","line":"Pro, Max, Team and Enterprise users signed in with their Claude account can use Remote Control even with telemetry turned off","released_at":"2026-09-25 18:46:11","reason":"found in this entry's text"},{"version":"2.1.283","anchor":"remote-sessions-refused-with-an-explicit-reason-when-telemet","heading":"Remote sessions explain the refusal when telemetry is switched off","line":"With `DISABLE_TELEMETRY` or `DO_NOT_TRACK` set, Claude Code now refuses remotely started sessions with a message saying why","released_at":"2026-09-25 18:46:11","reason":"found in this entry's text, named in this entry"},{"version":"2.1.242","anchor":"ide-and-sdk-hosts-are-told-when-telemetry-is-off-for-the-ses","heading":"IDE and SDK hosts are told when telemetry is off for the session","line":"Editors and SDK hosts are told when telemetry is off so they can match.","released_at":"2026-08-24 19:16:14","reason":"found in this entry's text"},{"version":"2.1.218","anchor":"env-var-allowlist-greatly-expanded","heading":"Env Var Allowlist Greatly Expanded","line":null,"released_at":"2026-07-22 19:55:32","reason":"found in this entry's text"},{"version":"2.1.124","anchor":"disable-growthbook-environment-variable","heading":"DISABLE_GROWTHBOOK environment variable","line":null,"released_at":"2026-04-30 01:39:41","reason":"found in this entry's text"},{"version":"1.0.111","anchor":"environment-variable-whitelist","heading":"Environment Variable Whitelist","line":null,"released_at":"2025-09-10 22:16:23","reason":"found in this entry's text"},{"version":"0.2.109","anchor":"configuration-management-enhancement","heading":"Configuration Management Enhancement","line":null,"released_at":"2025-05-13 17:57:15","reason":"found in this entry's text"},{"version":"0.2.39","anchor":"telemetry-controls","heading":"Telemetry Controls","line":null,"released_at":"2025-03-13 01:21:08","reason":"found in this entry's text"}],"entries_total":9,"docs":[{"source":"api","path":"manage-claude\/cmek","title":"cmek","documented":false},{"source":"claude-code","path":"advisor","title":"Escalate hard decisions with the advisor tool","documented":false},{"source":"claude-code","path":"claude-apps-gateway-deploy","title":"Claude apps gateway deployment and operations","documented":false},{"source":"claude-code","path":"data-usage","title":"Data usage","documented":false},{"source":"claude-code","path":"env-vars","title":"Environment variables","documented":false},{"source":"claude-code","path":"gateways","title":"Run Claude Code through a gateway","documented":false},{"source":"claude-code","path":"interactive-mode","title":"Interactive mode","documented":false},{"source":"claude-code","path":"managed-settings","title":"Deploy managed settings","documented":false},{"source":"claude-code","path":"mcp","title":"Connect Claude Code to tools via MCP","documented":false},{"source":"claude-code","path":"network-config","title":"Enterprise network configuration","documented":false}],"docs_total":12,"gates":[],"related":[{"name":"DISABLE_AUTO_COMPACT","slug":"disable-auto-compact","description":"Unknown model names now get an assumed context budget so auto-compact works instead of stalling."},{"name":"DISABLE_AUTOUPDATER","slug":"disable-autoupdater","description":"DISABLE_AUTOUPDATER=0 or false no longer disables updates; only truthy values count now."},{"name":"DISABLE_BRIEF_MODE_STOP_HOOK","slug":"disable-brief-mode-stop-hook","description":"When true, turns off brief mode's end-of-turn enforcement. Without it, in the main REPL thread or an SDK session with brief mode on and the brief tool available, Claude Code adds a hidden meta message carrying the brief enforcement text when the assistant made no brief tool call in the current turn and no such reminder was already added."},{"name":"DISABLE_BUG_COMMAND","slug":"disable-bug-command","description":"Temporary probes that checked whether old code paths still ran have been deleted; behaviour is unchanged."},{"name":"DISABLE_COMPACT","slug":"disable-compact","description":"Unknown model names now get an assumed context budget so auto-compact works instead of stalling."},{"name":"DISABLE_COST_WARNINGS","slug":"disable-cost-warnings","description":"When true, Claude Code does not print the session cost to stdout when the process exits and does not show the cost-threshold dialog. Without it, both depend on the account type and the organization or workspace role."},{"name":"DISABLE_DOCTOR_COMMAND","slug":"disable-doctor-command","description":"When true, the `\/doctor` command (alias `\/checkup`) is disabled."},{"name":"DISABLE_ERROR_REPORTING","slug":"disable-error-reporting","description":"Any non-empty value stops Claude Code from recording errors in its in-memory recent-error log and turns off the error-reporting path fed by `logError` and the uncaught-exception and unhandled-rejection handlers. Claude Code also copies the variable into the environment it builds for `byoc` sessions."},{"name":"DISABLE_EXTRA_USAGE_COMMAND","slug":"disable-extra-usage-command","description":"Setting DISABLE_EXTRA_USAGE_COMMAND now also hides the buy-credits prompts, which point at \/model instead."},{"name":"DISABLE_FEEDBACK_COMMAND","slug":"disable-feedback-command","description":"Feedback and bug-report commands are hidden when Claude Code runs through the SDK."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/disable-telemetry","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}