OpenClaw Linux 系统安装

OpenClaw Linux系统安装#

本脚本目前仅在Ubuntu24.04系统测试通过

bash -c "$(curl -fsSL https://www.bossclaw.org/install-openclaw.sh)"
  1. 查看 openclaw gateway 是否启动
openclaw status
# 已运行
Runtime: running (pid 3463, state active, sub running, last exit 0, reason 0)
  1. 查看 token
openclaw dashboard

🦞 OpenClaw 2026.4.2 (d74a122) — Welcome to the command line: where dreams compile and confidence segfaults.
Dashboard URL: http://127.0.0.1:18789/#token=<your-token>
Copy to clipboard unavailable.
No GUI detected. Open from your computer:
ssh -N -L 18789:127.0.0.1:18789 root@<服务器IP> # ssh转发
Then open:
http://localhost:18789/
http://localhost:18789/#token=<your-token>
Docs:
https://docs.openclaw.ai/gateway/remote
https://docs.openclaw.ai/web/control-ui
  1. 在你的电脑上执行 SSH 端口转发:
ssh -N -L 18789:127.0.0.1:18789 root@<服务器IP>
  1. 在你的电脑浏览器打开:
http://127.0.0.1:18789/#token=<your-token>

如果不用 Web UI,常用就是这几个: