OpenClaw(Clawdbot)最新版源码下载及部署安装介绍(国内中文版本)
🦞 OpenClaw — Personal AI Assistant(OpenClaw — 个人AI助手)OpenRobot.Club中国香港节点下载:点击使用香港线路(国内直连)下载(推荐)
OpenClaw is a personal AI assistant you run on your own devices. It answers you on the channels you already use (WhatsApp, Telegram, Slack, Discord, Google Chat, Signal, iMessage, Microsoft Teams, WebChat), plus extension channels like BlueBubbles, Matrix, Zalo, and Zalo Personal. It can speak and listen on macOS/iOS/Android, and can render a live Canvas you control. The Gateway is just the control plane — the product is the assistant.If you want a personal, single-user assistant that feels local, fast, and always-on, this is it.
OpenClaw是一款可在您自有设备上运行的个人AI助手。它通过您已使用的通信渠道(WhatsApp、Telegram、Slack、Discord、Google Chat、Signal、iMessage、Microsoft Teams、WebChat)以及扩展渠道(如BlueBubbles、Matrix、Zalo和Zalo Personal)与您互动。该助手支持macOS/iOS/Android系统的语音交互,并能呈现您可控制的实时画布界面。网关仅作为控制平面存在——真正的产品是助手本身。 如果您需要一款具有本地感、响应迅速且持续在线状态的个人单用户助手,OpenClaw正是您所需。
Preferred setup: run the onboarding wizard (openclaw onboard) in your terminal. The wizard guides you step by step through setting up the gateway, workspace, channels, and skills. The CLI wizard is the recommended path and works on macOS, Linux, and Windows (via WSL2; strongly recommended). Works with npm, pnpm, or bun. New install? Start here: Getting startedSubscriptions (OAuth):
[*]Anthropic (Claude Pro/Max)
[*]OpenAI (ChatGPT/Codex)
Model note: while any model is supported, I strongly recommend Anthropic Pro/Max (100/200) + Opus 4.6 for long‑context strength and better prompt‑injection resistance. See Onboarding.Models (selection + auth)
[*]Models config + CLI: Models
[*]Auth profile rotation (OAuth vs API keys) + fallbacks: Model failover
源码如何使用?安装设置详细介绍:
首选设置:在终端中运行入门向导(输入命令 `openclaw onboard`)。
该向导将逐步引导您完成网关、工作区、频道和技能的配置。CLI向导是推荐方式,支持macOS、Linux和Windows系统(通过WSL2运行;强烈推荐)。
兼容npm、pnpm和bun包管理器。新安装?从这里开始:入门指南
订阅服务(OAuth认证):
Anthropic(Claude Pro/Max版本)
OpenAI(ChatGPT/Codex)
模型说明:虽然支持任意模型,但强烈推荐Anthropic Pro/Max(100/200上下文长度)搭配Opus 4.6版本,以获得更强的长文本处理能力和更好的提示注入防御。详见Onboarding.
模型(选择+认证)
模型配置与CLI:Models
Auth profile rotation (OAuth vs API keys) + fallbacks: Model failover
认证方案切换(OAuth与API密钥)及备用方案:模型故障转移
Install (recommended) 安装(推荐)
Runtime: Node ≥22. 运行时:Node ≥22npm install -g openclaw@latest
# or: pnpm add -g openclaw@latest
openclaw onboard --install-daemonThe wizard installs the Gateway daemon (launchd/systemd user service) so it stays running. 巫师安装网关守护进程(launchd/systemd用户服务)以保持其持续运行。
Quick start (TL;DR)快速入门Runtime: Node ≥22.Full beginner guide (auth, pairing, channels): Getting started 运行环境:Node ≥22。 完整新手指南(认证、配对、频道):入门指南openclaw onboard --install-daemon
openclaw gateway --port 18789 --verbose
# Send a message
openclaw message send --to +1234567890 --message "Hello from OpenClaw"
# Talk to the assistant (optionally deliver back to any connected channel: WhatsApp/Telegram/Slack/Discord/Google Chat/Signal/iMessage/BlueBubbles/Microsoft Teams/Matrix/Zalo/Zalo Personal/WebChat)
openclaw agent --message "Ship checklist" --thinking highUpgrading? Updating guide (and run openclaw doctor). 升级?更新指南(并运行openclaw doctor)。
Development channels
[*]stable: tagged releases (vYYYY.M.D or vYYYY.M.D-<patch>), npm dist-tag latest.
[*]beta: prerelease tags (vYYYY.M.D-beta.N), npm dist-tag beta (macOS app may be missing).
[*]dev: moving head of main, npm dist-tag dev (when published).
Switch channels (git + npm): openclaw update --channel stable|beta|dev. Details: Development channels.
开发渠道:稳定版:标记的发布版本(vYYYY.M.D 或 vYYYY.M.D-<补丁>),npm dist-tag 最新版。 测试版:预发布标签(vYYYY.M.D-beta.N),npm dist-tag 测试版(macOS 应用可能缺失)。 开发版:主分支的最新提交,npm dist-tag 开发版(发布时)。 切换渠道(git + npm):openclaw update --channel stable|beta|dev。详情:开发渠道。
From source (development)Prefer pnpm for builds from source. Bun is optional for running TypeScript directly.
从源代码(开发)构建时推荐使用 pnpm。Bun 可直接运行 TypeScript,但为可选工具。git clone https://github.com/openclaw/openclaw.git
cd openclaw
pnpm install
pnpm ui:build # auto-installs UI deps on first run
pnpm build
pnpm openclaw onboard --install-daemon
# Dev loop (auto-reload on TS changes)
pnpm gateway:watch
Note: pnpm openclaw ... runs TypeScript directly (via tsx). pnpm build produces dist/ for running via Node / the packaged openclaw binary.
注意:pnpm openclaw...直接运行TypeScript(通过tsx)。pnpm build生成dist/以便通过Node/打包的openclaw二进制文件运行。
Security defaults (DM access)安全默认值(DM访问)OpenClaw connects to real messaging surfaces. Treat inbound DMs as untrusted input. OpenClaw连接到真实的消息传递界面。将收到的私信视为不可信任的输入。
Full security guide: SecurityDefault behavior on Telegram/WhatsApp/Signal/iMessage/Microsoft Teams/Discord/Google Chat/Slack:
[*]DM pairing (dmPolicy="pairing" / channels.discord.dm.policy="pairing" / channels.slack.dm.policy="pairing"): unknown senders receive a short pairing code and the bot does not process their message.
[*]Approve with: openclaw pairing approve <channel> <code> (then the sender is added to a local allowlist store).
[*]Public inbound DMs require an explicit opt-in: set dmPolicy="open" and include "*" in the channel allowlist (allowFrom / channels.discord.dm.allowFrom / channels.slack.dm.allowFrom).
Run openclaw doctor to surface risky/misconfigured DM policies. 运行openclaw医生以发现存在风险或配置错误的DM策略。
更新日期:2026年2月8号
下载最新版:
官方下载:点击使用官方下载线路点击使用Github渠道下载
OpenRobot.Club中国香港节点下载:点击使用香港线路(国内直连)下载(推荐)
页:
[1]