C
Claude Code CLI
Details
- Command
-
claude - Docs
- https://docs.anthropic.com/en/docs/claude-code/overview
Authentication
Claude Console OAuth login oauth2 discovered
$ claude Acquired by the CLI — running claude opens the auth flow and stores the credential.
env ANTHROPIC_API_KEY Create or sign in to your Anthropic Console account, then go to API Keys and create a key. The Get started guide shows exporting it as ANTHROPIC_API_KEY for SDKs and CLI use.