Skip to content
BENIBIX Learn

/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

/login signs you in to your Anthropic account, with a Claude plan or a Console account. A plan is one such as Pro or Max, and a Console account pays by use. /logout signs you out. Use them to move to another account, or to fix a sign-in that has stopped working.

Example code

console
/login
Sign in, or switch to another account.

Common mistake

Thinking /login sets up Bedrock or Google Cloud. Those use their own setup and do not sign in to Anthropic.

Key takeaways

  1. 1
    Signs you in. A plan or a Console account.
  2. 2
    /logout. Signs you out.
  3. 3
    Switch accounts. Log out, log in.

Learn it properly