一、什么是 OpenClaw?
OpenClaw 是一个开源的 AI 代理框架,可以连接各种 AI 模型和工具,实现自动化任务处理。
二、安装步骤
Windows 安装
1. 安装 Node.js(18+ 版本)
2. 安装 OpenClaw:npm install -g openclaw
3. 初始化配置:openclaw init
4. 启动服务:openclaw start
Mac 安装
brew install node
npm install -g openclaw
openclaw init
Linux 安装
sudo apt install -y nodejs npm
npm install -g openclaw
openclaw init
三、基础配置
编辑配置文件,设置 AI 模型 API 密钥
四、常见问题
Q: 安装失败怎么办?
A: 检查 Node.js 版本是否为 18+,尝试使用管理员权限运行
Q: 如何更新?
A: npm update -g openclaw
有问题欢迎提问! |