Skip to content

Claude login

claude login

Create or refresh the stored token without launching Claude

claude login [flags]

Options

  -h, --help   help for login

Options inherited from parent commands

      --op             store the token in 1Password via the op CLI (instead of the OS keychain)
      --vault string   1Password vault for --op (default "Private"; overrides GH_CLAUDE_OP_VAULT)

SEE ALSO

  • claude - Launch Claude Code with a temporary, no-push GitHub token