Skip to content

国内网络技巧

This content is not available in your language yet.

国内安装 Node 包,建议切换到淘宝镜像:

Terminal window
npm config set registry https://registry.npmmirror.com

验证是否生效:

Terminal window
npm config get registry
# 应输出: https://registry.npmmirror.com

Python 包安装时:

Terminal window
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

编辑 /etc/docker/daemon.json

{
"registry-mirrors": [
"https://docker.m.daocloud.io",
"https://mirror.ccs.tencentyun.com"
]
}

以下产品在中国大陆需要科学上网才能正常使用:

  • GitHub Copilot — 需要访问 GitHub API
  • Cursor — 需要访问 cursor.sh 服务
  • Windsurf — 需要访问 codeium 服务
  • OpenClaw — 模型 API 部分需代理(本地 Gateway 不需要)

以下产品在中国大陆可直接使用:

  • qClaw (阿里) — 国内服务器
  • DuClaw (百度) — 国内服务器
  • ArkClaw (字节) — 国内服务器
  • miclaw (小米) — ⚠️ 小范围封测,暂未公开
  • WorkBuddy (腾讯) — 国内服务器
  • ChatGLM (智谱) — 国内服务器
  • Kimi (月之暗面) — 国内服务器