@@ -57,23 +57,37 @@ openclaw -h
5757openclaw config --help
5858openclaw models --help
5959openclaw skills --help
60+
61+ # 健康检查
62+ openclaw health
63+
64+ # 综合诊断与修复建议
65+ openclaw doctor
66+ openclaw doctor --yes # 自动执行修复
67+ openclaw doctor --non-interactive # 非交互模式
6068```
6169
6270### A.1.3 配置管理
6371
6472``` bash
73+ # 交互式配置向导
74+ openclaw configure
75+
6576# 查看所有配置
6677openclaw config list
6778
6879# 查看特定配置
80+ openclaw config get < path>
6981openclaw config get model.apiKey
7082openclaw config get model.name
7183
72- # 设置配置
84+ # 设置配置(支持JSON5/raw文本)
85+ openclaw config set < path> < value>
7386openclaw config set model.apiKey " sk-xxx"
7487openclaw config set model.name " claude-sonnet-4"
7588
7689# 删除配置
90+ openclaw config unset < path>
7791openclaw config delete model.apiKey
7892
7993# 重置配置
@@ -86,7 +100,29 @@ openclaw config export > config-backup.json
86100openclaw config import config-backup.json
87101```
88102
89- ### A.1.4 对话管理
103+ ### A.1.4 Gateway管理
104+
105+ ``` bash
106+ # 安装系统服务(根据平台注册守护进程)
107+ openclaw gateway install
108+
109+ # 启动Gateway服务
110+ openclaw gateway start
111+
112+ # 停止Gateway服务
113+ openclaw gateway stop
114+
115+ # 重启Gateway服务(配置变更后应用)
116+ openclaw gateway restart
117+
118+ # 查看Gateway系统服务状态
119+ openclaw gateway status
120+
121+ # 查看Gateway是否可达
122+ openclaw status
123+ ```
124+
125+ ### A.1.5 对话管理
90126
91127``` bash
92128# 发送消息
@@ -98,6 +134,39 @@ openclaw conversation list
98134
99135# 清空对话历史
100136openclaw conversation clear
137+ ```
138+
139+ ### A.1.6 通道管理
140+
141+ ``` bash
142+ # 列出已登录通道(WhatsApp/Telegram等)
143+ openclaw channels list
144+
145+ # 登录新的通道账号(扫描/授权链接)
146+ openclaw channels login
147+
148+ # 查看通道状态
149+ openclaw channels status
150+ ```
151+
152+ ### A.1.7 日志管理
153+
154+ ``` bash
155+ # 显示日志
156+ openclaw logs
157+
158+ # 实时跟踪日志
159+ openclaw logs --follow
160+
161+ # JSON格式日志
162+ openclaw logs --json
163+
164+ # 纯文本日志
165+ openclaw logs --plain
166+
167+ # 限制日志行数
168+ openclaw logs --limit 100
169+ ```
101170
102171# 清理旧对话(保留最近N条)
103172openclaw conversation clean --keep 20
@@ -257,6 +326,9 @@ openclaw conversation import conversation.json
257326# 列出可用Skills
258327openclaw skills list
259328
329+ # 查看技能详情
330+ openclaw skills info < skill>
331+
260332# 搜索Skills
261333openclaw skills search " 文件管理"
262334
@@ -350,7 +422,52 @@ openclaw models test claude-sonnet-4
350422openclaw models stats
351423```
352424
353- ### A.5.2 日志管理
425+ ### A.5.2 插件管理
426+
427+ ``` bash
428+ # 列出插件
429+ openclaw plugins list
430+
431+ # 安装插件
432+ openclaw plugins install < id>
433+ openclaw plugins install @openclaw/voice-call
434+
435+ # 启用插件(需要重启网关)
436+ openclaw plugins enable < id>
437+
438+ # 禁用插件
439+ openclaw plugins disable < id>
440+
441+ # 卸载插件
442+ openclaw plugins uninstall < id>
443+
444+ # 查看插件详情
445+ openclaw plugins info < id>
446+ ```
447+
448+ ### A.5.3 卸载命令
449+
450+ ``` bash
451+ # 官方推荐卸载方式
452+ openclaw uninstall
453+
454+ # 全自动卸载(包含状态、workspace、插件等)
455+ openclaw uninstall --all --yes --non-interactive
456+
457+ # 仅删除状态文件(不删除workspace/CLI)
458+ openclaw uninstall --state
459+
460+ # 仅删除工作区(移除agent/workspace文件)
461+ openclaw uninstall --workspace
462+
463+ # 仅卸载服务(不删除数据)
464+ openclaw uninstall --service
465+
466+ # 模拟卸载(显示结果但不实际执行)
467+ openclaw uninstall --dry-run
468+ ```
469+
470+ ### A.5.4 日志管理
354471
355472``` bash
356473# 查看日志
@@ -372,7 +489,7 @@ openclaw logs clear
372489openclaw logs export > logs.txt
373490```
374491
375- ### A.5.3 性能优化
492+ ### A.5.5 性能优化
376493
377494``` bash
378495# 清理缓存
0 commit comments