$cd ../tutorials/
必读15 分钟阅读2026年3月
$ cat getting-started.md

export GettingStarted

/** 运行你的个人 AI 助手所需的一切 */

section_01_intro.md

🦞## 什么是 OpenClaw?

OpenClaw OpenClaw 是由 Peter Steinberger 和社区创建的开源、自托管个人 AI 助手。与基于云的 AI 助手不同,OpenClaw 完全在你自己的硬件上运行。

// Key features:
多渠道: WhatsApp、Telegram、Discord、Slack、Signal
本地优先: 你的数据留在你的设备上
系统访问: 运行命令、管理文件、控制浏览器
可扩展: 添加自定义技能和插件
模型无关: Claude、OpenAI 或本地模型
section_02_prerequisites.md

## 📦 前置条件

Node.js 22+// Required runtime
macOS | Linux | Windows (WSL2)
AI Provider Account// Anthropic recommended

// ⚠️ Windows 用户:强烈推荐使用带 Ubuntu 的 WSL2

section_03_install.sh

## 🚀 安装

方式一:快速安装

# macOS / Linux
$ curl -fsSL https://clawd.bot/install.sh | bash
# Windows PowerShell
$ iwr -useb https://clawd.bot/install.ps1 | iex

方式二:npm/pnpm

$ npm install -g OpenClaw@latest
# or
$ pnpm add -g OpenClaw@latest
section_04_config.sh

## ⚙️ 配置

运行交互式引导向导:

$ OpenClaw onboard --install-daemon
// The wizard will configure:
1. 网关设置
2. AI 提供商认证
3. 频道配置(WhatsApp、Telegram 等)
4. 守护进程安装

// 💡 专业提示:推荐使用 Anthropic Claude Pro/Max 以获得最佳体验

section_05_chat.sh

## 💬 你的第一次对话

启动网关:

$ OpenClaw gateway
✓ 网关运行在 http://localhost:18789

发送你的第一条消息:

$ OpenClaw agent --message "Hello! What can you do?"

本教程对你有帮助吗?

// 让我们知道如何改进

$ cd ../tutorials/* END_OF_TUTORIAL */