最近 ClaudeCode 封号严重,Claude 镜像提供商层出不穷。切换配置很麻烦也很让人恼火,写了个工具直接指定镜像提供商启动
# Add configurations
ccconfig add work
ccconfig add personal
# Start Claude Code directly with a specific profile
ccconfig start work # During work hours
ccconfig start personal # After work
就这么简单,用 npm 安装就行 npm install -g ccconfig, 项目已开源,欢迎 Star: https://github.com/Danielmelody/ccconfig
1
Dreamful 15 小时 13 分钟前
有没有试试 ccswitch
|
2
Alias4ck 14 小时 23 分钟前 direnv 不就解决了吗?
|
3
Danielhu229 OP @Dreamful ccswitch 是 gui ,更喜欢命令行且可以多开不同配置
|
4
Danielhu229 OP @Alias4ck 需要同目录快速切换或者启动多个不同供应商的时候,ccconfig 的优势就出来了。直接 ccconfig start <profile-name> 一键启动 claude code
|
5
Alias4ck 31 分钟前
@Danielhu229 (你说的这种,写一个 bash 命令也能解决
|