Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.40 Home All releases olderv2.1.39 v2.1.41newer
Claude Code v2.1.40

claude auth Command Group

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 →