Skip to main content

安装 OpenClaw

系统要求

  • Node.js >= 18.0
  • npm 或 yarn
  • Git

安装步骤

1. 克隆仓库

git clone https://github.com/your-org/openclaw.git
cd openclaw

2. 安装依赖

npm install

3. 配置环境

cp .env.example .env
# 编辑 .env 文件,填入必要的配置

4. 启动开发服务器

npm run dev

访问 http://localhost:3000 查看应用。

验证安装

运行以下命令验证安装是否成功:

npm run test

所有测试应该通过。