Per-shell login requires a token
Problem
Section titled “Problem”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:
ccswitch token <name>This runs claude setup-token interactively and stores the result. After this, ccuse <name> will work.
See also
Section titled “See also”- macOS keychain caveat — why this is needed
This site uses GoatCounterfor page counts — no cookies, no personal data, no tracking across sites.