Skip to content

ccswitch add

ccswitch add

Interactive wizard to create a new profile. Walks you through:

  1. Profile name
  2. Auth type selection (login, API key, Bedrock, Bedrock API key, custom endpoint)
  3. Credential input (varies by type)
  4. Optional config isolation

For login profiles, launches claude auth login and captures the credential. Optionally captures an OAuth token for per-shell use.

For bedrock-key profiles, automatically derives expiry from short-term tokens.

For custom profiles, prompts for the endpoint’s base URL, a bearer token, and optional KEY=value model overrides. It also doubles as the way to rotate a custom endpoint token — re-run with --force and the same profile name.

Terminal window
ccswitch add
# → prompts for name, type, credentials, isolation
  • ccswitch save — snapshot current state instead of interactive setup
  • Auth Types — understand the different auth types

This site uses GoatCounterfor page counts — no cookies, no personal data, no tracking across sites.