💻 快速安装
最简单的方式,适合开发者快速体验 OpenClaw。
前置要求
- Node.js 18+
- npm 或 yarn
- Git
安装步骤
-
安装 OpenClaw
curl -fsSL https://openclaw.sh/install.sh | bash -
或者使用 npm
npm install -g openclaw -
创建工作目录
mkdir -p ~/.openclaw/workspace cd ~/.openclaw/workspace -
启动 Gateway
openclaw gateway start -
查看状态
openclaw status
💡 常用命令
openclaw gateway start # 启动
openclaw gateway stop # 停止
openclaw gateway restart # 重启
openclaw logs # 查看日志
openclaw status # 查看状态