logo
0
0
WeChat Login

Recommended: installer script

The fastest way to install. It detects your OS, installs Node if needed, installs OpenClaw, and launches onboarding.

macOS / Linux / WSL2

curl -fsSL https://openclaw.ai/install.sh | bash

cnb 版本:

curl -fsSL https://cnb.cool/c.d/claw/install/-/git/raw/main/install.sh | bash

Windows (PowerShell)

iwr -useb https://openclaw.ai/install.ps1 | iex

cnb 版本

iwr -useb https://cnb.cool/c.d/claw/install/-/git/raw/main/install.ps1 | iex

To install without running onboarding:

macOS / Linux / WSL2

curl -fsSL https://openclaw.ai/install.sh | bash -s -- --no-onboard

cnb 版本:

curl -fsSL https://cnb.cool/c.d/claw/install/-/git/raw/main/install.sh | bash -s -- --no-onboard

Windows (PowerShell)

& ([scriptblock]::Create((iwr -useb https://openclaw.ai/install.ps1))) -NoOnboard

cnb 版本

& ([scriptblock]::Create((iwr -useb https://cnb.cool/c.d/claw/install/-/git/raw/main/install.ps1))) -NoOnboard

System requirements

Node 24 (recommended) or Node 22.16+ — the installer script handles this automatically macOS, Linux, or Windows — both native Windows and WSL2 are supported; WSL2 is more stable. See Windows. pnpm is only needed if you build from source ​ Alternative install methods ​ npm or pnpm If you already manage Node yourself:

npm

npm install -g openclaw@latest openclaw onboard --install-daemon

pnpm

pnpm add -g openclaw@latest pnpm approve-builds -g openclaw onboard --install-daemon

From source

For contributors or anyone who wants to run from a local checkout:

git clone https://github.com/openclaw/openclaw.git cd openclaw pnpm install && pnpm ui:build && pnpm build pnpm link --global openclaw onboard --install-daemon

Install from GitHub main

npm install -g https://cnb.cool/c.d/claw/openclaw#main