npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@theopenbee/claude-code-cn

v0.0.3

Published

Claude Code 中国大陆下载与配置工具

Readme

@theopenbee/claude-code-cn

Claude Code 中国大陆下载与配置工具。

  • 默认从大陆 CDN 下载二进制(https://dl.theopenbee.cn
  • 交互式配置 10 个国内 Provider(KimiCode / Moonshot / DeepSeek / GLM / MiniMax / 阿里云 / 火山引擎 / 腾讯云 / 小米 Mimo / 自定义)

安装

npm i -g @theopenbee/claude-code-cn
# 或者
pnpm add -g @theopenbee/claude-code-cn

使用

ccc download                        # 下载到 ~/.claude-code-cn/bin/claude
ccc download --force                # 已存在也重新下载
ccc download --cdn-url <url>        # 覆盖 CDN

ccc env                             # 交互式选择 Provider 并写入 ~/.claude/settings.json

下载完成后,请将 ~/.claude-code-cn/bin 加入你的 PATH

export PATH="$HOME/.claude-code-cn/bin:$PATH"

支持的 Provider 与模型

ccc env 内置以下 Provider,选择后会自动写入对应的 ANTHROPIC_BASE_URL / 模型环境变量到 ~/.claude/settings.json

| Provider | 计费方式 / BaseURL | 可选模型 | 文档 | | --- | --- | --- | --- | | KimiCode | https://api.kimi.com/coding/ | 由服务端路由(无需选择) | 文档 | | Moonshot (Kimi) | https://api.moonshot.cn/anthropic | kimi-k2.5 | 文档 | | DeepSeek | https://api.deepseek.com/anthropic | deepseek-v4-pro[1m](主)+ deepseek-v4-flash(haiku/subagent) | 文档 | | Zhipu (GLM) | https://open.bigmodel.cn/api/anthropic | glm-5.1 | 文档 | | MiniMax | https://api.minimaxi.com/anthropic | MiniMax-M2.7 | 文档 | | 阿里云百炼 (Qwen) | Token Plan 团队版 | qwen3.6-plusqwen3.6-flashdeepseek-v4-prodeepseek-v4-flashdeepseek-v3.2kimi-k2.6kimi-k2.5glm-5.1glm-5MiniMax-M2.5 | 文档 | | | Coding Plan | qwen3.6-pluskimi-k2.5glm-5MiniMax-M2.5 | | | | 按量计费 | qwen3.6-max-previewqwen3.6-plus(-2026-04-02)qwen3.6-flash(-2026-04-16)deepseek-v4-prodeepseek-v4-flashdeepseek-v3.2kimi-k2.6kimi-k2.5kimi-k2-thinkingglm-5.1glm-5glm-4.7glm-4.6MiniMax-M2.5MiniMax-M2.1 | | | 火山引擎 (Doubao) | https://ark.cn-beijing.volces.com/api/coding | doubao-seed-2.0-codedoubao-seed-2.0-prodoubao-seed-2.0-litedoubao-seed-codeminimax-latestglm-5.1deepseek-v3.2kimi-k2.6 | 文档 | | 腾讯云 | Coding Plan | tc-code-latest(auto)hunyuan-2.0-instructhunyuan-2.0-thinkingminimax-m2.5kimi-k2.5glm-5hunyuan-t1hunyuan-turbos | 文档 | | | Token Plan 企业版 | deepseek-v4-prodeepseek-v4-flashglm-5.1glm-5kimi-k2.6kimi-k2.5minimax-m2.7minimax-m2.5 | | | | Token Plan 个人版 | glm-5.1glm-5kimi-k2.5minimax-m2.7minimax-m2.5 | | | 小米 Mimo | 按量付费 / Token Plan | mimo-v2.5-promimo-v2.5-pro[1m]mimo-v2.5mimo-v2.5[1m]mimo-v2-flash | 文档 | | 自定义 Provider | 自行填写 BaseURL | 由服务端决定 | — |

模型列表会随上游迭代变化,以 ccc env 交互菜单实际显示为准。

支持平台

darwin-arm64 / darwin-x64 / linux-arm64 / linux-x64 / linux-arm64-musl / linux-x64-musl

Windows 暂不支持。

License

MIT