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

@coryrowe/openclaw-zh

v2026.2.19

Published

OpenClaw 汉化发行版(稳定版)

Readme

OpenClaw 汉化发行版

Release npm Nightly Build Platform License

稳定版 (@latest) 自动同步 OpenClaw 官方稳定版最新版 (@nightly) 每 4 小时同步官方最新代码


介绍

OpenClaw适用于任何操作系统的 AI 智能体 Gateway 网关。它运行在你的电脑上,通过 WhatsApp、Telegram、Discord 等聊天应用与你的 AI 助手交互,帮你处理邮件、日历、文件等日常事务。

本项目 = OpenClaw + 中文界面,CLI 命令行和 Dashboard 网页控制台均已深度汉化。


4 步上手

前提条件:需要 Node.js >= 22下载 Node.js

检查版本:node -v

第 1 步:安装

npm install -g @coryrowe/openclaw-zh@latest

第 2 步:初始化(推荐守护进程模式)

openclaw onboard --install-daemon

初始化向导会引导你完成:选择 AI 模型 → 配置 API 密钥 → 设置聊天通道

第 3 步:启动网关

openclaw gateway

第 4 步:打开控制台

openclaw dashboard

浏览器会自动打开全中文的 Dashboard 控制台。完成!

想了解每一步的详细说明?查看 详细安装指南(包含 Node.js 安装、模型配置、守护进程、内网访问等)


汉化效果预览


常用命令

openclaw                    # 启动 OpenClaw
openclaw onboard            # 初始化向导
openclaw dashboard          # 打开网页控制台
openclaw config             # 查看/修改配置
openclaw skills             # 管理技能
openclaw --help             # 查看帮助

# 网关管理
openclaw gateway run        # 前台运行(挂终端,用于调试)
openclaw gateway start      # 后台守护进程(不挂终端,推荐!)
openclaw gateway stop       # 停止网关
openclaw gateway restart    # 重启网关
openclaw gateway status     # 查看网关状态
openclaw gateway install    # 安装为系统服务(开机自启)

# 常用操作
openclaw update             # 检查并更新 CLI
openclaw doctor             # 诊断问题(自动修复)

Windows 用户注意:如果 gateway install 失败(提示 schtasks 不可用),可使用 gateway start 启动后台进程,或使用 Docker 部署方案。


网关重启

# 方式 1:使用 gateway 子命令(推荐)
openclaw gateway restart

# 方式 2:先停止再启动
openclaw gateway stop
openclaw gateway start

# 方式 3:守护进程模式(后台运行,不挂终端)
openclaw daemon start       # 启动后台守护
openclaw daemon stop        # 停止守护
openclaw daemon restart    # 重启守护
openclaw daemon status     # 查看状态

# Docker 容器重启
docker restart openclaw

卸载教程

CLI 卸载

# 卸载汉化版
npm uninstall -g @coryrowe/openclaw-zh

# 如果之前安装过原版,也一并卸载
npm uninstall -g openclaw

数据清理(可选)

# 删除配置和缓存(不可恢复!)
rm -rf ~/.openclaw

# Docker 清理
docker rm -f openclaw                # 删除容器
docker volume rm openclaw-data       # 删除数据卷

守护进程卸载

# macOS
launchctl unload ~/Library/LaunchAgents/com.openclaw.plist
rm ~/Library/LaunchAgents/com.openclaw.plist

# Linux (systemd)
sudo systemctl stop openclaw
sudo systemctl disable openclaw
sudo rm /etc/systemd/system/openclaw.service
sudo systemctl daemon-reload


更新升级

npm update -g @coryrowe/openclaw-zh

查看当前版本:openclaw --version

| 版本 | 安装命令 | 说明 | |------|----------|------| | 稳定版 | npm install -g @coryrowe/openclaw-zh@latest | 推荐:同步 OpenClaw 官方稳定版,可靠性高。 | | 最新版 | npm install -g @coryrowe/openclaw-zh@nightly | 尝鲜:同步 OpenClaw 官方最新代码,功能最新。 |


Docker 部署

推荐使用 Docker Hub 镜像,拉取速度快,无需翻墙!

| 镜像源 | 拉取命令 | |--------|----------| | Docker Hub | docker pull coryrowe/openclaw-zh:latest | | GitHub Container Registry | docker pull ghcr.io/cnrot/openclaw-zh:latest |

一键部署(最简单)

# Linux/macOS — 加 --china 自动使用国内镜像
curl -fsSL https://cdn.jsdelivr.net/gh/cnrot/OpenClaw-zh@main/docker-deploy.sh | bash -s -- --china
# Windows PowerShell — 加 -China 自动使用国内镜像
irm https://cdn.jsdelivr.net/gh/cnrot/OpenClaw-zh@main/docker-deploy.ps1 | iex
# 或: .\docker-deploy.ps1 -China

手动 Docker 部署

# 推荐使用 Docker Hub 镜像
IMAGE=coryrowe/openclaw-zh:latest
# 海外使用: IMAGE=ghcr.io/cnrot/openclaw-zh:latest

# 1. 初始化(首次运行)
# Docker 需要交互式运行来配置 AI 模型和 API 密钥
docker run --rm -it -v openclaw-data:/root/.openclaw $IMAGE openclaw onboard

# 按向导完成:选择模型 → 配置 API 密钥 → 设置聊天通道

# 2. 配置网关模式
docker run --rm -v openclaw-data:/root/.openclaw $IMAGE openclaw config set gateway.mode local

# 3. 启动(守护进程模式,容器会一直运行)
docker run -d --name openclaw -p 18789:18789 \
  -v openclaw-data:/root/.openclaw --restart unless-stopped \
  $IMAGE openclaw gateway run

参数说明:

  • -d: 后台运行(守护进程模式)
  • --name openclaw: 给容器取名,方便管理
  • -p 18789:18789: 端口映射
  • --restart unless-stopped: 除非手动停止,否则一直运行
  • openclaw gateway run: 启动网关(容器启动命令)

访问:http://localhost:18789

完整指南(远程部署、Nginx 反代、Docker Compose、内网访问等)请查看 Docker 部署指南


其他安装方式

Linux / macOS:

curl -fsSL -o install.sh https://cdn.jsdelivr.net/gh/cnrot/OpenClaw-zh@main/install.sh && bash install.sh

Windows PowerShell:

[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
Invoke-WebRequest -Uri "https://cdn.jsdelivr.net/gh/cnrot/OpenClaw-zh@main/install.ps1" -OutFile "install.ps1" -Encoding UTF8; powershell -ExecutionPolicy Bypass -File ".\install.ps1"

如遇中文乱码,直接用 npm 安装:npm install -g @coryrowe/openclaw-zh@latest

# 使用 npmmirror 镜像源(国内推荐)
npm install -g @coryrowe/openclaw-zh@latest --registry=https://registry.npmmirror.com

# 或全局设置镜像源后再安装
npm config set registry https://registry.npmmirror.com
npm install -g @coryrowe/openclaw-zh@latest
# pnpm
pnpm add -g @coryrowe/openclaw-zh@latest

# yarn
yarn global add @coryrowe/openclaw-zh@latest
# 方案 1: 使用 GitHub 代理
git clone https://ghproxy.net/https://github.com/cnrot/OpenClaw-zh.git

# 方案 2: 无需 git,直接用 npx 运行
npx @coryrowe/openclaw-zh@latest

📱 手机端 — ClawApp

想用手机和 AI 智能体聊天? ClawApp 是 OpenClaw 的移动端 H5 聊天客户端,打开浏览器就能用,不需要装 App。

OpenClaw Gateway 默认只监听本机(127.0.0.1:18789),手机无法直接连接。ClawApp 通过 WebSocket 代理解决了这个问题:

手机浏览器(任意网络)
    ↓ WebSocket (WS / WSS)
ClawApp 代理服务端(端口 3210)
    ↓ WebSocket (localhost)
OpenClaw Gateway(端口 18789)

核心特性:实时流式聊天 · 图片发送 · Markdown 渲染 + 代码高亮 · 快捷指令 · 会话管理 · 暗色/亮色主题 · 中英文切换 · PWA 支持 · Android APK

快速部署(Docker 一键启动):

git clone https://github.com/qingchencloud/clawapp.git
cd clawapp

# 创建 .env,填入你的 Token
echo 'PROXY_TOKEN=设置一个连接密码' > .env
echo 'OPENCLAW_GATEWAY_TOKEN=你的gateway-token' >> .env

docker compose up -d --build

手机浏览器打开 http://你的电脑IP:3210 即可使用。

详细文档(外网访问、Cloudflare Tunnel、Nginx 反代等)请查看 ClawApp 项目主页 | 产品官网


常见问题

🔥 Top 3 高频问题

原因:npm 默认从国外源下载,国内网络可能很慢。

解决:加 --registry 参数使用国内镜像源,或直接用 Docker 部署:

# 方案 1:npm 加镜像源
npm install -g @coryrowe/openclaw-zh@latest --registry=https://registry.npmmirror.com

# 方案 2:用 Docker
docker pull coryrowe/openclaw-zh:latest

详细说明 →

原因:系统上还残留了英文原版 openclaw,它的优先级高于汉化版。

解决:先卸载原版,再重装汉化版:

npm uninstall -g openclaw
npm install -g @coryrowe/openclaw-zh@latest

验证:openclaw --version 输出应包含 -zh 后缀。

详细说明 →

原因:OpenClaw 的安全机制要求设备配对或 Token 验证。

解决

# token mismatch —— 用 dashboard 命令自动带 Token 打开:
openclaw dashboard

# pairing required —— 批准设备:
openclaw devices list           # 查看待批准设备 ID
openclaw devices approve <ID>   # 批准该设备

# Docker 用户如果无法运行 CLI,可以一键关闭设备认证:
docker run --rm -v openclaw-data:/root/.openclaw \
  coryrowe/openclaw-zh:latest \
  openclaw config set gateway.controlUi.dangerouslyDisableDeviceAuth true
# 然后重启容器

token mismatch 详细说明 → | pairing required 详细说明 →

其他常见问题

| 问题 | 快速解决 | 详情 | |------|----------|------| | 安装报 Permission denied (publickey) | git config --global url."https://github.com/".insteadOf ssh://[email protected]/ | 查看 → | | 远程 / 内网访问不了 | openclaw config set gateway.bind lan 然后重启 | 查看 → | | 镜像源版本落后 | 去掉 --registry 参数直接安装,或等待镜像同步(已自动触发) | #32 | | Missing config | 运行 openclaw onboard 初始化配置 | 查看 → | | Missing workspace template | 升级到最新版即可:npm install -g @coryrowe/openclaw-zh@latest | 查看 → | | Ollama 无响应 | 检查 baseURL 是否为 http://localhost:11434/v1 | 查看 → | | Docker 容器启动后退出 | 确保启动命令包含 openclaw gateway run | 查看 → | | Docker 打不开 Dashboard | 设置 gateway.bind lan 监听所有网卡 | 查看 → |

完整排查手册 (25+ 个问题) | Docker 问题排查


插件扩展

# 安装更新检测插件
npm install -g @coryrowe/openclaw-updater

相关链接

| 汉化版 | 上游项目 | |--------|----------| | npm 包 | OpenClaw GitHub | | GitHub 仓库 | ClawHub 技能市场 | | GitHub Pages | Discord 社区 |