/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.
What it is
Sign in to your Anthropic account
Anthropic's own wording. Read off Commands, captured 2026-08-28.
Presence across releases
The 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.
Changelog entries naming it
-
v2.1.248Two 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
-
v2.1.248Login can pause for managed-settings review
After signing in, /login holds if your organization's managed settings still need review.
named in this entry
-
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
-
v2.1.242Artifact 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
-
v2.1.234Clearer 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
-
v2.1.232Artifact 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
-
v2.1.232Artifact 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
-
v2.1.232Logging 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
-
v2.1.232One 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
-
v2.1.232One 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
-
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
-
v2.1.225Remote 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
-
v2.1.225Remote 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
-
v2.1.225Remote 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
-
v2.1.225Remote 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
-
v2.1.225Untrusted-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
-
v2.1.224Remote 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
-
v2.1.224Remote 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
-
v2.1.223Clearer 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
-
v2.1.222MCP 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
-
v2.1.222MCP: 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
-
v2.1.222Dedicated 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
-
v2.1.222claude.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
Documentation pages
- Commands reference table Claude Code CLI
- Create the app registration that represents the Claude API audience. mentions it Claude Developer Platform
- Set up Claude Code for your organization mentions it Claude Code CLI
- Agent SDK reference - TypeScript mentions it Claude Code CLI
- Manage multiple agents with agent view mentions it Claude Code CLI
- Share session output as artifacts mentions it Claude Code CLI
- Authentication mentions it Claude Code CLI
- Claude Code changelog mentions it Claude Code CLI
- Use Claude Code with Chrome mentions it Claude Code CLI
- Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry mentions it Claude Code CLI
- Claude apps gateway configuration mentions it Claude Code CLI
- Claude apps gateway deployment and operations mentions it Claude Code CLI
- Deploy Claude apps gateway on AWS mentions it Claude Code CLI
A reference table page is one whose own table defines this name, and it is where the description above came from. A page that mentions it carries the name somewhere in its text and may say nothing about it at all. Every page carrying it.
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.