⌨️/login Command
Also known as /login, /logout, Sign in to Claude Code, DISABLE_LOGIN_COMMAND
It signs you in to your Anthropic account. /logout signs you out.
Think of it like
It is like you show your ticket at the door, so you can go in.
Example
Jack uses his work account in the day. In the evening he runs /logout, then /login with his own Pro plan for a side project.
Why it matters
Which account you are signed in to decides which plan, limits and bill your work counts against.
Definition
Example code
console
/loginCommon mistake
Key takeaways
- 1Signs you in. A plan or a Console account.
- 2/logout. Signs you out.
- 3Switch accounts. Log out, log in.