安装指南
macOS
使用 Homebrew(推荐)
brew tap openclaw/openclaw
brew install openclaw
使用安装脚本
curl -fsSL https://install.openclaw.ai | bash
系统要求
- macOS 12.0+ (Monterey)
- 4GB+ 内存
Windows
使用 PowerShell
iwr -useb https://install.openclaw.ai/windows | iex
手动安装
- 下载 最新版本
- 运行安装程序
- 添加到系统 PATH
系统要求
- Windows 10/11
- PowerShell 5.0+
Linux
通用安装脚本
curl -fsSL https://install.openclaw.ai | bash
Ubuntu/Debian
sudo apt update
sudo apt install -y openclaw
Docker 安装
docker run -it \
-v ~/.openclaw:/root/.openclaw \
openclaw/openclaw
验证安装
$ openclaw --version
openclaw version 1.0.0
$ openclaw status
✓ OpenClaw 运行正常
常见问题
安装时提示权限不足?
Linux/macOS 用户尝试加 sudo 运行安装命令,或检查目录权限。
Windows 提示无法验证发布者?
点击"更多信息" → "仍要运行"。这是 Windows 的安全提示,属于正常现象。
如何卸载?
brew uninstall openclaw && rm -rf ~/.openclaw(macOS)