v0.26.22
Tip 45: switch between multiple Claude accounts
New tip on switching between multiple Claude accounts (for example, personal vs work) quickly:
- Mint a long-lived token per account with
claude setup-token - Store each token in the macOS Keychain instead of plaintext dotfiles
- Add
clw/clpshell functions that pass the token viaCLAUDE_CODE_OAUTH_TOKEN
The env var works on Linux and Windows too (their logins live in ~/.claude/.credentials.json instead); the Keychain setup shown is a Mac example to adapt to your own system.
(#35)