promptgarten ๐ŸŒฑ
๐ŸŒ ES

Command reference ยท Claude Code

/login

Signs in to your Anthropic account.

Signs in to your Anthropic account.

โœ… WHEN TO USE IT?

First-time sign-in or switching accounts

On a new machine, run /login to connect with the Anthropic account.

โ›” WHEN NOT TO?

Just checking whether you're already logged in

/login starts the sign-in flow directly, it doesn't show a plain status view.

Better: Use /status to see account and connection info without starting a new login flow.

SOURCES