CLI commands and flags

claude auth login

Authenticates to Anthropic with options for email, SSO, or Console billing.

Syntax

claude auth login

Example

Terminal
claude auth login --console

Type to search the reference, templates and lessons.