Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.40 ·

claude auth Command Group

Entry
JSON All of v2.1.40
EntryKind: in v2.1.40,
ChangesSection of the release
What

New CLI subcommands for managing authentication outside interactive mode.

Usage
claude auth login              # Sign in to your Anthropic account
claude auth login --email [email protected]  # Pre-populate email on login page
claude auth login --sso        # Force SSO login flow
claude auth status             # Show authentication status
claude auth status --text      # Human-readable output
claude auth logout             # Log out from your Anthropic account
Details
  • Replaces the need to use /login and /logout slash commands
  • --json flag outputs machine-readable status (default)
  • --text flag outputs human-readable status
Evidence

Auth command group (search for "Manage authentication", "Sign in to your Anthropic account")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.40 →

Feedback