Skip to content

Per-shell login requires a token

Running ccuse <name> or ccswitch env <name> on a login profile gives:

Profile '<name>' has no captured OAuth token. Run: ccswitch token <name>

Per-shell switching works by exporting environment variables. For login profiles, this requires a captured OAuth token (CLAUDE_CODE_OAUTH_TOKEN). The live keychain credential can’t be scoped per-shell.

Capture a token once:

Terminal window
ccswitch token <name>

This runs claude setup-token interactively and stores the result. After this, ccuse <name> will work.

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