# /login Command

> It signs you in to your Anthropic account. /logout signs you out.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** /login, /logout, Sign in to Claude Code, DISABLE_LOGIN_COMMAND

## Think of it like

It is like you show your ticket at the door, so you can go in.

## 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

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.

## Example code

```console
/login
```

Sign in, or switch to another account.

## Why it matters

Which account you are signed in to decides which plan, limits and bill your work counts against.

## Common mistake

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

## Three principles

- **Signs you in.** A plan or a Console account.
- **/logout.** Signs you out.
- **Switch accounts.** Log out, log in.

## Related terms

- [/status Command](https://learn.benibix.com/term/ai/status-command)
- [/setup-bedrock Command](https://learn.benibix.com/term/ai/setup-bedrock-command)
- [/usage Command](https://learn.benibix.com/term/ai/usage-command)

## Taught in

- [Claude Code Login Commands](https://learn.benibix.com/learn/ai-claude-code-commands/claude-code-login-commands): Claude Code Commands, 3/17

---

Source: https://learn.benibix.com/term/ai/login-command
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
