Ubuntu 24通过APT安装Nodejs及Openclaw

curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash
apt list nodejs
apt install -y nodejs
node -v
npm -v

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

Recommended: installer script

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

macOS / Linux / WSL2

bashCopy code

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

Windows (PowerShell)

powershellCopy code

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

To install without running onboarding:

macOS / Linux / WSL2

bashCopy code

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

Windows (PowerShell)

powershellCopy code

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

评论已关闭。