💻 快速安装

最简单的方式,适合开发者快速体验 OpenClaw。

前置要求

安装步骤

  1. 安装 OpenClaw
    curl -fsSL https://openclaw.sh/install.sh | bash
  2. 或者使用 npm
    npm install -g openclaw
  3. 创建工作目录
    mkdir -p ~/.openclaw/workspace
    cd ~/.openclaw/workspace
  4. 启动 Gateway
    openclaw gateway start
  5. 查看状态
    openclaw status
💡 常用命令
openclaw gateway start   # 启动
openclaw gateway stop    # 停止
openclaw gateway restart # 重启
openclaw logs            # 查看日志
openclaw status         # 查看状态