

操作系统:Ubuntu 20.04+ / Debian 11+
Node.js:24.x 及以上
权限:具备 sudo 权限的系统用户
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -sudo apt-get install -y nodejs
npm install -g openclaw@latest --prefix=/opt/ubuntu/application/openclawexport OPENCLAW_HOME=/opt/ubuntu/application-data/openclawexport OPENCLAW_STATE_DIR=/opt/ubuntu/application-data/openclawexport OPENCLAW_CONFIG_PATH=/opt/ubuntu/application-data/openclaw/openclaw.json./bin/openclaw onboard --install-daemon




3.6 输入 MiniMax API Key








./bin/openclaw config set "gateway.mode" "local"./bin/openclaw config set "gateway.bind" "lan"./bin/openclaw config set "gateway.controlUi.allowedOrigins" '["http://0.0.0.0:18789"]'./bin/openclaw config set "gateway.controlUi.dangerouslyDisableDeviceAuth" true

官方文档:https://docs.openclaw.ai
问题反馈:https://github.com/openclaw/openclaw/issues
夜雨聆风