Window安装OpenClaw

一、环境安装
1.Git

https://git-scm.com/

2.Node.js

https://nodejs.org/en/

3.报【CERT_HAS_EXPIRED】错误

清除 npm 缓存: 运行以下命令以清除 npm 缓存:

npm cache clean --force

禁用严格的 SSL 设置: 运行以下命令以禁用严格的 SSL 设置:

npm config set strict-ssl false

重新安装依赖包: 最后运行 npm install 重新安装依赖包:

npm install

4.提升【此系统上禁止运行脚本】

完全放开限制

Set-ExecutionPolicy Unrestricted

改回策略

Set-ExecutionPolicy Restricted


二、模型API申请

1.免费的大模型

https://docs.bigmodel.cn/cn/guide/models/free/glm-4.7-flash

模型URL以及名称:

新建一个API Key:


三、OpenClaw安装

1.官网

https://openclaw.ai/

2.进入手册

3.执行命令并配置

4.常用命令

检查配置问题

openclaw doctor

查看网关状态

openclaw status

 打开浏览器用户界面

openclaw dashboard

重新配置

openclaw onboard --install-daemon

启动

openclaw gateway

四、集成钉钉

1.官网文档

https://open.dingtalk.com/document/dingstart/build-dingtalk-ai-employees

2.本地安装插件

https://open.dingtalk.com/document/dingstart/install-openclaw-locally

3.常见错误


(1)