Skip to content

安装

install

Note

nodejs >= 22

# Recommended: global install (npm/pnpm)
npm install -g openclaw@latest
# or: pnpm add -g openclaw@latest

# Onboard + install the service (launchd/systemd user service)
openclaw onboard --install-daemon

# Pair WhatsApp Web (shows QR)
openclaw channels login

# Gateway runs via the service after onboarding; manual run is still possible:
openclaw gateway --port 18789 --verbose
  • disconnected (1008): unauthorized: gateway token mismatch (open a tokenized dashboard URL or paste token in Control UI settings)

more ~/.openclaw/openclaw.json 查看token 粘贴到Overview

openclaw gateway --port 18789 --verbose

openclaw tui

无法打开浏览器,重启下网关 sudo apt install -y chromium-browser openclaw gateway start openclaw gateway restart openclaw gateway status