/login
A Claude Code slash command, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
Sign in to your Anthropic account
Anthropic's own wording. Read off Commands, captured 2026-09-28.
In the changelogs
115Releases whose published page names /login.
-
v2.1.305
Starting a cloud session without signing in now walks you through
/loginIf you start a cloud session without a claude.ai login, Claude Code asks you to run
/login, then restarts and starts the sessionfound in this entry's text, named in this entry
-
v2.1.305
Input is held back with a notice when no cloud session is running
When no cloud session is running, Claude Code can refuse to send or run what you typed and tells you to run /login
found in this entry's text
-
v2.1.304
/loginaccepts an argument and drops its cloud-session workaroundThe cloud-session tip for
/loginis gone, and/loginnow reads an argument and reports when it does not recognise itfound in this entry's text, named in this entry
-
v2.1.304
Claude Code now undoes a refused sign-in and restores your previous login
When a sign-in is refused, Claude Code now restores your previous login and cancels the refused one, or asks you to sign in again
found in this entry's text, named in this entry
-
v2.1.304
New messages for local Bash in cloud sessions and for attaching files
New messages explain when this machine's Bash is not offered to a cloud session and when attaching files fails
found in this entry's text
-
v2.1.304
/login is hidden in cloud sessions where a claude.ai sign-in can't be used
In a cloud session started with a Console sign-in, or where forceLoginMethod requires another method, /login is hidden and explains why
found in this entry's text, named in this entry
-
v2.1.304
Clearer message when a session's claude.ai sign-in stops working
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
found in this entry's text, named in this entry
-
v2.1.302
Clear gateway message for background sessions opened from another folder
A background session opened from another folder without its LLM gateway now says so, instead of asking you to log in
found in this entry's text
-
v2.1.300
Remote Control retries failed credential renewals and warns before the connection ends
Remote Control now retries sign-in errors when renewing its connection and, if it gives up, says why and how long the connection still works
found in this entry's text
-
v2.1.300
Cloud sessions gain a sign-in path for Console organizations
Starting a cloud session can now open a browser sign-in for your Console organization instead of requiring a claude.ai login
found in this entry's text
-
v2.1.300
Cloud agents sign-in error can now show a more specific message
The not-signed-in error for cloud agents now shows a specific message when one is available, instead of always the same text
found in this entry's text
-
v2.1.299
Clearer errors and advice when starting cloud sessions
Cloud session launches now give plainer errors for
--toolson self-hosted environments, missing sign-in and some git failuresfound in this entry's text
-
v2.1.296
Loading a session's history now shows an error instead of failing silently
Fetching a session's history for resume or teleport now shows an error when it fails, instead of returning an empty or partial session
found in this entry's text
-
v2.1.296
The /login hint to enroll this computer now depends on one check
The hint to run /login to enroll this computer now shows whenever Claude Code decides this computer would enroll, replacing three checks
found in this entry's text, named in this entry
-
v2.1.290
Starting with /login on first run keeps it if you skipped sign-in
A
/loginyou start Claude Code with is now cleared after setup only if you did not skip sign-infound in this entry's text, named in this entry
-
v2.1.290
The /chrome menu shows the real connection state, and Reconnect works
The /chrome dialog shows whether Claude in Chrome is connected, connecting, failed or off, and Reconnect now actually tries to reconnect
found in this entry's text
-
v2.1.290
Clearer error when a session is tied to another device
The error for a session bound to one device now says this machine could not prove it is that computer or a trusted device, and suggests /login
found in this entry's text, named in this entry
-
v2.1.290
Cloud session sign-in error now tells you to run
claude auth loginThe error for cloud sessions without a claude.ai sign-in is shorter and names the
claude auth logincommandfound in this entry's text, named in this entry
-
v2.1.288
/login in bare mode explains why it won't sign you in
In bare mode,
/loginnow prints an explanation instead of a sign-in that would have no effectfound in this entry's text, named in this entry
-
v2.1.288
Login now tells you when your sign-in worked but could not be saved
If sign-in succeeds in the browser but your credentials cannot be stored, login now shows a dedicated screen explaining what happened and what to do
found in this entry's text
-
v2.1.287
Creating an artifact in some sessions gives a clearer error when Artifacts is unreachable
In some sessions, failing to create an artifact now says the session could not reach Artifacts instead of telling you to run
/loginfound in this entry's text
-
v2.1.286
Keys managed through /login are now labelled as API keys, not claude.ai
Claude Code now reports a key managed through
/loginas an API key rather than a claude.ai loginfound in this entry's text, named in this entry
-
v2.1.286
Clearer /ultrareview stop messages, plus small /fast, login and settings changes
The
/ultrareviewstop and failure messages are reworded, and/fast, login status and the output style picker change slightlyfound in this entry's text
-
v2.1.286
Built-in guide for custom sign-in servers updated on certificates and token addresses
The built-in guide now says to run /login after a certificate change, and that sign-in addresses come from the server's discovery document
found in this entry's text
-
v2.1.285
Trusted-device refusals that need a signature get their own message
When a device is refused as untrusted because a signature is wanted, Claude Code now shows a separate message
found in this entry's text, named in this entry
-
v2.1.284
/auto-mode-setupchecks you are signed in before it scans your environment/auto-mode-setupnow checks your login first and tells you to run/loginif it has expired or you are not signed infound in this entry's text, named in this entry
-
v2.1.284
Top-tier Max users at a limit are pointed to /usage-credits instead of /upgrade
On the highest Max plan, the usage-limit hint and
/upgradenow point to/usage-credits, since there is no higher plan to move tofound in this entry's text
-
v2.1.283
Switching accounts clears leftover near-limit wrap-up hints
After switching accounts, usage-limit wrap-up hints from the previous account no longer carry over to the new one
found in this entry's text, named in this entry
-
v2.1.281
Warning when the org changes mid-conversation is gated off by a false-fallback flag
A warning for switching account or organization mid-conversation is built but held behind the
tengu_lexical_gladeflagfound in this entry's text
-
v2.1.281
New conversation attachments: credential_org (org switch mid-conversation) and advisor_stripped
Claude Code can now warn when you are signed in to a different account or organization partway through a conversation
found in this entry's text
-
v2.1.281
New sibling-login watch picks up a login made in another Claude Code process (default on)
A session waiting at the login notice now clears itself when you log in from another Claude Code window
found in this entry's text, named in this entry
-
v2.1.281
After /login, policy limits refresh before a follow-up step
After /login, Claude Code now refreshes your account's policy limits, with a time limit, before running a follow-up step
found in this entry's text, named in this entry
-
v2.1.281
Error wording for sessions hosted by the desktop app: no slash commands
Some error messages drop slash-command and flag advice when the session is hosted by a desktop app
found in this entry's text
-
v2.1.281
Cloud gateway sign-in and settings errors reworded for sessions not running in your terminal
Cloud gateway sign-in and availability errors now tell you to sign in from a terminal where the session runs, or to ask your admin
found in this entry's text
-
v2.1.281
Error messages and advice worded for a desktop host
Some error messages use different wording when Claude Code runs inside a desktop host app, such as "sign out and sign in again"
found in this entry's text
-
v2.1.277
'Login expired' message and dedicated /login re-auth copy
New 'Login expired' message distinct from the existing Anthropic profile expiry message
found in this entry's text, named in this entry
-
v2.1.275
apiKeyHelper case removed from dead switch in Op
A dead code path's switch statement dropped an unused apiKeyHelper case
found in this entry's text
-
v2.1.274
Better error messages when Artifacts need a claude.ai login, especially in remote/injected-credential sessions
Error messages for Artifacts requiring a claude.ai login are now more specific about remote and host-injected-credential sessions
found in this entry's text
-
v2.1.274
Cloud gateway sign-in error now a structured error code
Cloud gateway sign-in failure is now a structured error with a 'signin_required' code
named in this entry, found in this entry's text
-
v2.1.273
401 responses now suggest /login
Login errors (HTTP 401) now suggest running /login to fix them
found in this entry's text, named in this entry
-
v2.1.273
Session-create errors get a dedicated 401 message pointing at /login
Failing to create a remote session now shows a specific message telling you to run /login on a 401 error
found in this entry's text, named in this entry
-
v2.1.271
Compliance/federation enforcement helper functions added
New internal checks enforce compliance restrictions and federation rules using a new
ANTHROPIC_FEDERATION_RULE_IDvariablefound in this entry's text
-
v2.1.269
New 403 error message for device-bound sessions blocked from an unenrolled device
New clear error message when a device-bound session is blocked from an unenrolled device
found in this entry's text, named in this entry
-
v2.1.268
Remote-session org-policy denials now emit telemetry
Blocked remote-session actions from org policy now emit a tengu_org_policy_denied telemetry event
found in this entry's text
-
v2.1.268
Managed settings can restrict a Cloud gateway sign-in to your org's public IP block
Managed settings can now restrict Cloud gateway sign-in to CIDR blocks matching the org's own public IP
found in this entry's text, named in this entry
-
v2.1.268
New managed-settings key gatewayInternalNetworks restricts /login to declared network CIDRs
New gatewayInternalNetworks managed setting restricts /login to gateway hosts inside declared private network ranges
found in this entry's text
-
v2.1.268
CLI login OAuth-failure output gains a conditional extra newline
Login failures over OAuth may now print an extra blank line before the error
found in this entry's text, named in this entry
-
v2.1.268
C4E slash-command upsell now distinguishes signed-out users
Claude for Enterprise upsell message now differs for users who are fully signed out versus just missing an enterprise org
found in this entry's text, named in this entry
-
v2.1.266
Cloud gateway sign-in error message shortened
The Cloud gateway sign-in error message dropped its instructions for CLAUDE_CODE_USE_GATEWAY, ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN
named in this entry, found in this entry's text
-
v2.1.265
Gateway session messaging simplified/unified for Remote Control
Remote Control's gateway-blocked message is now a single generic explanation instead of two separate cases
found in this entry's text
-
v2.1.265
Cloud gateway sign-in check reworked with desktop-app-aware error and new required flag
Cloud gateway sign-in check reworked with a clearer error and desktop-app-aware handling
found in this entry's text
-
v2.1.265
Auth status message adapts to Cloud gateway sessions
claude auth statusnow shows a Cloud-gateway-specific sign-in hint instead of the generic onefound in this entry's text, named in this entry
-
v2.1.265
Clearer managed-settings gateway sign-in error message
Gateway sign-in error now explains itself in plain language instead of naming the internal forceLoginMethod setting
found in this entry's text, named in this entry
-
v2.1.261
Clearer managed-settings error when org requires Cloud gateway sign-in
A clearer error now tells you exactly how to fix a mismatched credential under gateway-mode org policy.
found in this entry's text, named in this entry
-
v2.1.261
New provider-managed env var list for gateway policy checks
A new provider-managed env var list decides gateway sign-in error wording.
found in this entry's text
-
v2.1.261
Managed-policy enforcement of Cloud gateway sign-in
Claude Code now fails fast with a clear /login message if admin policy requires gateway sign-in.
found in this entry's text, named in this entry
-
v2.1.257
Cloud gateway session-expiry error message added
An expired cloud gateway session now tells you to run /login to reconnect.
found in this entry's text, named in this entry
-
v2.1.251
Design login errors now say which credential was actually sent
Design login failures now tell you whether to run /design-login or /login.
named in this entry, found in this entry's text
-
v2.1.248
Two distinct OAuth refresh failures with recovery text
Login refresh failures now say whether to run /login or that another session holds the lock.
named in this entry, found in this entry's text
-
v2.1.248
One-per-week session limit reset, present but dark
You could clear a five-hour session limit once a week, but the command stays hidden.
found in this entry's text
-
v2.1.248
Login can pause for managed-settings review
After signing in, /login holds if your organization's managed settings still need review.
named in this entry, found in this entry's text
-
v2.1.247
Artifact watch explanations get non-CLI wording, and can be rebuilt from the journal
Artifact watch messages now drop terminal-only advice when you're not in a terminal.
found in this entry's text
-
v2.1.247
Artifact comment watchers can be restored after a headless resume
Artifact comment watchers can be restored after a headless resume by rescanning the transcript.
found in this entry's text
-
v2.1.242
/login asks how you want to sign in to a Console account
/login now offers signing in to your Console account instead of only creating an API key.
named in this entry, found in this entry's text
-
v2.1.242
Artifact watch explains when the artifact belongs to another organization
Watching an artifact from another of your organizations now tells you to sign in there.
named in this entry, found in this entry's text
-
v2.1.242
Artifact comment monitors say exactly who holds them
If resuming can't take back Artifact comment replies, you now get a specific reason and advice instead of one vague message.
found in this entry's text
-
v2.1.239
Reworded auth, doctor and artifact messages
Auth, /doctor and artifact messages now describe what actually happened instead of guessing a fix.
found in this entry's text
-
v2.1.234
Clearer error when an Anthropic profile login has expired
An expired profile login now gives a clear message, sometimes offering /login with your claude.ai account.
named in this entry, found in this entry's text
-
v2.1.234
SDK reports where an API key actually came from
The SDK now reports where an API key really came from, like the env var or an apiKeyHelper.
found in this entry's text
-
v2.1.232
Artifact auth errors say which login is needed
Artifact auth errors now tell you a claude.ai login is needed and to run /logout to clear an API key.
named in this entry, found in this entry's text
-
v2.1.232
Alignment, capitalization and shutdown-noise fixes
The "N more" line is left-aligned, an auth error is capitalized, and SSE closes quietly.
found in this entry's text
-
v2.1.232
Artifact commands now require a claude.ai login specifically
Artifact commands now need a claude.ai login and fail fast if you're on an API key.
named in this entry, found in this entry's text
-
v2.1.232
Logging in can now end the session if the gateway changed underneath it
If your API gateway changes during login, the session stops with an explanation instead of half-working.
named in this entry, found in this entry's text
-
v2.1.232
One shared "not authenticated" message across artifacts, threads and comments
Artifact, thread and comment auth errors now share one "Not authenticated" message.
named in this entry, found in this entry's text
-
v2.1.232
One consistent message when artifact commands need you to log in
Publishing and listing artifacts now share one "Not authenticated, run /login" message.
named in this entry, found in this entry's text
-
v2.1.229
/login warns if an OAuth token is set in your environment
After logging in, you're warned if an OAuth token in your environment will override it later.
named in this entry, found in this entry's text
-
v2.1.227
Startup notice when a cloud session could not be bound to your machine
You could get a startup notice when a cloud session could not be bound to your machine.
found in this entry's text
-
v2.1.225
Remote Control re-mint retry loop and auth-specific failure messages
Remote Control now retries reconnecting with backoff and tells you to run /login when auth fails.
named in this entry, found in this entry's text
-
v2.1.225
Remote Control bridge: token-refresh exhaustion now surfaces a login prompt
When remote control can't refresh your token, it now tells you to run /login instead of stalling.
named in this entry, found in this entry's text
-
v2.1.225
Remote Control re-arms itself after a re-login
Remote Control now turns itself back on after you log in again, instead of staying dead.
named in this entry, found in this entry's text
-
v2.1.225
Remote Control disconnect notices point at /login for auth failures
If Remote Control drops due to auth, the notice now tells you to run /login.
named in this entry, found in this entry's text
-
v2.1.225
Untrusted-device recovery can be turned off by a flag; unarchive gets its own 403 handling
Untrusted-device failures still recover automatically, and expired trusted-device sessions now tell you to run /login.
named in this entry, found in this entry's text
-
v2.1.225
Trusted-device 403s handled on elevated-auth requests
A rejected session can now tell you it's stale and needs re-login, not just untrusted device.
found in this entry's text
-
v2.1.224
Remote Control tells you when a credential expired instead of just dropping
An expired Remote Control credential now closes with a clear message telling you to run /login.
named in this entry, found in this entry's text
-
v2.1.224
Remote Control errors are typed as auth or terminal
Remote Control failures are labelled auth or terminal, and auth ones point you at /login.
named in this entry, found in this entry's text
-
v2.1.223
Clearer failures when claude.ai project scopes can't be obtained
When project permissions fail, you now get a specific reason and advice instead of a vague error.
named in this entry, found in this entry's text
-
v2.1.222
MCP server panel explains a rejected claude.ai session token
An MCP server rejecting your login token now tells you to run /login and reconnect.
named in this entry, found in this entry's text
-
v2.1.222
MCP: rejected claude.ai session token is now visible
Your MCP server list now flags a rejected login token, and clears the warning once it recovers.
named in this entry, found in this entry's text
-
v2.1.222
Dedicated error when claude.ai rejects a session bearer token
If claude.ai rejects your session token, you now get a clear message telling you to run /login instead of endless retries.
named in this entry, found in this entry's text
-
v2.1.222
claude.ai MCP proxy surfaces a rejected session token
When your claude.ai session token is rejected, you now get a clear error telling you to run /login.
named in this entry, found in this entry's text
-
v2.1.212
Login Method Enforcement Improvements
found in this entry's text
-
v2.1.209
Background Sessions Now Support /login and /model
found in this entry's text
-
v2.1.209
Max Subscription Upgrade Flow Simplified
found in this entry's text
-
v2.1.209
Trusted Devices Check Removed from Remote Control
found in this entry's text
-
v2.1.206
OAuth Token Expiry Error
found in this entry's text
-
v2.1.206
Login Expired Message
found in this entry's text
- v2.1.178
- v2.1.176
-
v2.1.176
MCP First-Party Auth Error Handling
found in this entry's text
-
v2.1.172
Trusted Device Error Message Centralized
found in this entry's text
-
v2.1.163
Subscription Switch Notice [In Development]
found in this entry's text
-
v2.1.124
Trusted-Device gate for Remote Control
found in this entry's text
-
v2.1.113
In-App Feedback Submission
found in this entry's text
-
v2.1.110
Improved Untrusted Device Error Messages
found in this entry's text
-
v2.1.108
Ultrareview Cloud Launch Flow
found in this entry's text
-
v2.1.91
Untrusted Device Detection for Bridge Sessions
found in this entry's text
-
v2.1.80
Channels (MCP Inbound Push Notifications)
found in this entry's text
- v2.1.79
- v2.1.73
-
v2.1.59
Voice Dictation Mode
found in this entry's text
-
v2.1.40
claude authCommand Groupfound in this entry's text
-
v2.1.33
Cleaner Login Error Messages
found in this entry's text
-
v2.1.27
Improved Authentication Error Messages
found in this entry's text
-
v2.0.0
Subscription Plan Notifications
found in this entry's text
-
v0.2.92
OAuth Token Revocation Handling
found in this entry's text
First cited
49The earliest release whose published evidence quoted /login was v2.1.33, 6 Feb 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.
43 further spans in the ledger name it. The list above is the earliest first and stops at 6.
Presence across releases
0The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the slash command does. All slash commands.