Repository navigation
v0.1.0 — Initial release
What is cce?
cce is a per-process environment launcher for Claude Code. One command to inject any
provider's env (DeepSeek / Kimi / GLM / CCR / official Anthropic) and start claude,
with default CLI args managed in config.
npm install -g @xiaofuzhou/cce
cce -e deepseek
cce pick
Features
- Per-process env injection — env vars are injected only into the claude child
process, so every terminal window can use a different provider in parallel
- Three-layer args merging — global defaults → per-env args → CLI -a/-A,
with pure concatenation semantics
- Interactive picker — cce pick opens a keyboard-navigable menu; bare cce
also falls back to the picker when no default is set
- Shell completion — bash, zsh, fish, and PowerShell tab-completion for
subcommands, flags, and your own env names
- Env-leak protection — ANTHROPIC_* vars are stripped from the inherited
environment before injection, preventing shell-level leaks from silently
taking effect
- API key masking — token/key values are masked in all terminal output
- Atomic config writes — config saved via tmp-file + rename; corrupted configs
are backed up before erroring
- Cross-platform — Windows (PS 7+, cmd), macOS, Linux
Included in this release
- cce CLI with subcommands: list, show, edit, use, current, pick,
completion, help
- Configuration: ~/.claude/cce/config.json
- Zero runtime dependencies beyond cross-spawn and picocolors
Links
- npm: https://www.npmjs.com/package/@xiaofuzhou/cce
- README: https://github.com/zhouxiaofu/claude-code-env/blob/v0.1.0/README.md