{"name":"DISABLE_LOGOUT_COMMAND","slug":"disable-logout-command","family":"env","title":"Environment variables","noun":"environment variable","description":"When true, the `\/logout` command is disabled.","description_source":"code","described_by":{"bundle":"2.1.286","author":"claude-opus-5-5"},"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":null},"aliases":[],"entries":[],"entries_total":0,"docs":[],"docs_total":0,"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-logout-command","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}