{"name":"DISABLE_LOGIN_COMMAND","slug":"disable-login-command","family":"env","title":"Environment variables","noun":"environment variable","description":"A new check skips waiting for organization policy limits when running remotely, with login disabled, on a trusted device, or without a claude.ai plan","description_source":"entry","described_by":{"version":"2.1.296","anchor":"remote-control-gate-helper-and-new-tengu-org-policy-denied-d"},"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":[{"version":"2.1.307","anchor":"auto-update-disabled-message-and-login-hint-tweaks","heading":"Expired sign-in message no longer always opens with \"Run \/exit\"","line":"With `DISABLE_LOGIN_COMMAND` set, the expired claude.ai sign-in message now builds its opening sentence instead of always saying \"Run \/exit\"","released_at":"2026-10-21 20:47:18","reason":"named in this entry, found in this entry's text"},{"version":"2.1.305","anchor":"sign-in-prompt-when-cloud-session-launched-without-claudeai","heading":"Starting a cloud session without signing in now walks you through \/login","line":"If you start a cloud session without a claude.ai login, Claude Code asks you to run `\/login`, then restarts and starts the session","released_at":"2026-10-20 19:29:36","reason":"found in this entry's text"},{"version":"2.1.304","anchor":"login-hidden-or-refused-in-cloud-sessions-with-a-console-si","heading":"\/login is hidden in cloud sessions where a claude.ai sign-in can't be used","line":"In a cloud session started with a Console sign-in, or where forceLoginMethod requires another method, \/login is hidden and explains why","released_at":"2026-10-19 19:47:15","reason":"found in this entry's text, named in this entry"},{"version":"2.1.304","anchor":"session-expired-message-for-claudeai-sign-in","heading":"Clearer message when a session's claude.ai sign-in stops working","line":"Claude Code now says when the claude.ai sign-in a session was using is no longer usable, and tells you which command to sign in again with","released_at":"2026-10-19 19:47:15","reason":"found in this entry's text, named in this entry"},{"version":"2.1.296","anchor":"remote-control-gate-helper-and-new-tengu-org-policy-denied-d","heading":"New check skips policy limits for remote, non-subscriber and trusted-device setups","line":"A new check skips waiting for organization policy limits when running remotely, with login disabled, on a trusted device, or without a claude.ai plan","released_at":"2026-10-09 16:58:10","reason":"found in this entry's text"}],"entries_total":5,"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-login-command","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}