快速开始

5 分钟上手 OpenClaw,让 AI 成为你的得力助手。

1

安装 OpenClaw

选择适合你的安装方式:

# 使用 Homebrew 安装
brew tap openclaw/openclaw
brew install openclaw

# 或使用安装脚本
curl -fsSL https://install.openclaw.ai | bash
# 使用 PowerShell 安装
iwr -useb https://install.openclaw.ai/windows | iex

# 或下载安装包
# https://github.com/openclaw/openclaw/releases
# 使用安装脚本
curl -fsSL https://install.openclaw.ai | bash

# 或使用包管理器
sudo apt install openclaw  # Ubuntu/Debian
2

初始化配置

运行初始化命令,完成基础设置:

$ openclaw init
✓ 欢迎使用 OpenClaw!
? 选择数据存储目录: ~/.openclaw
? 选择默认 AI 模型: Kimi
? 输入 Kimi API Key: sk-xxxxxxxx
✓ 配置完成!
3

验证安装

检查 OpenClaw 是否正常运行:

$ openclaw status
✓ OpenClaw 运行正常
  版本: 1.0.0
  数据目录: /Users/username/.openclaw
  默认模型: Kimi
  已安装技能: 15
4

开始对话

启动交互模式,开始与 AI 对话:

$ openclaw
🦞 OpenClaw 已启动
> 你好!
你好!我是 OpenClaw AI 助手。有什么我可以帮助你的吗?

> 帮我总结一下今天的新闻
我来帮您搜索今天的新闻...

下一步