V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
Danielhu229
V2EX  ›  程序员

一键指定镜像提供商启动 Claude Code

  •  
  •   Danielhu229 · 1 天前 · 991 次点击

    最近 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

    3 条回复    2025-10-27 16:49:57 +08:00
    Dreamful
        1
    Dreamful  
       8 小时 29 分钟前
    有没有试试 ccswitch
    Alias4ck
        2
    Alias4ck  
       7 小时 39 分钟前   ❤️ 1
    direnv 不就解决了吗?
    Danielhu229
        3
    Danielhu229  
    OP
       43 分钟前
    @Dreamful ccswitch 是 gui ,更喜欢命令行且可以多开不同配置
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   5338 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 09:33 · PVG 17:33 · LAX 02:33 · JFK 05:33
    ♥ Do have faith in what you're doing.