openclaw
Openclaw
docs
curl -fsSL https://openclaw.ai/install.sh | bash
# node > 22
npm install -g openclaw@latest
# The wizard installs the Gateway daemon (launchd/systemd user service) so it stays running.
openclaw onboard --install-daemon
# Check the Gateway
openclaw gateway status
# Run the Gateway in the foreground Useful for quick tests or troubleshooting.
openclaw gateway --port 18789
openclaw doctor # check for config issues
openclaw status # gateway status
openclaw dashboard # open the browser UI
openclaw skill list
npx clawhub@latest install imap-smtp-email
npx clawhub@latest install mcporter
Control UI
- Web UI: http://127.0.0.1:18789/#token=
- Gateway WS: ws://127.0.0.1:18789/
- Docs: https://docs.openclaw.ai/web/control-ui
Token
# view token
openclaw config get gateway.auth.token
# generate token
openclaw doctor --generate-gateway-token
# web search
openclaw configure --setction web
Workspace backup
Wecom
# install wecom plugin
openclaw plugins install @openclaw-china/wecom-app
๐ฆ OpenClaw 2026.2.6-3 (85ed6c7) โ The UNIX philosophy meets your DMs.
โ
โ Config warnings โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ - plugins.entries.feishu: plugin feishu: duplicate plugin id detected; later plugin may โ
โ be overridden (/usr/lib/node_modules/openclaw/extensions/feishu/index.ts) โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Downloading @openclaw-china/wecom-appโฆ
Extracting /tmp/openclaw-npm-pack-8KzPy9/openclaw-china-wecom-app-0.1.16.tgzโฆ
WARNING: Plugin "wecom-app" contains dangerous code patterns: Shell command execution detected (child_process) (/tmp/openclaw-plugin-os89AD/extract/package/dist/index.js:4949); Environment variable access combined with network send โ possible credential harvesting (/tmp/openclaw-plugin-os89AD/extract/package/dist/index.js:4393)
Installing to /root/.openclaw/extensions/wecom-appโฆ
Installing plugin dependenciesโฆ
03:11:47 [plugins] feishu_doc: Registered feishu_doc, feishu_app_scopes
03:11:47 [plugins] feishu_wiki: Registered feishu_wiki tool
03:11:47 [plugins] feishu_drive: Registered feishu_drive tool
03:11:47 [plugins] feishu_bitable: Registered 6 bitable tools
03:11:48 [plugins] โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
03:11:48 [plugins] OpenClaw China Channels ๅทฒๅฐฑ็ปช!
03:11:48 [plugins] โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
03:11:48 [plugins]
03:11:48 [plugins] ้กน็ฎไปๅบ:
03:11:48 [plugins] https://github.com/BytePioneer-AI/openclaw-china
03:11:48 [plugins]
03:11:48 [plugins] โญ ๅฆๆ่ฟไธช้กน็ฎๅฏนไฝ ๆๅธฎๅฉ๏ผ่ฏท็ปๆไปฌไธไธช Star๏ผโญ
03:11:48 [plugins]
03:11:48 [plugins] ไธไธๆญฅ๏ผ้
็ฝฎๅผๅฏผ๏ผ:
03:11:48 [plugins] 1. ่ฟ่กไบคไบๅผ้
็ฝฎๅๅฏผ
03:11:48 [plugins] openclaw china setup
03:11:48 [plugins] 2. ๆๆ็คบๅกซๅๆธ ้ๅญๆฎๅนถไฟๅญ้
็ฝฎ
03:11:48 [plugins] 3. ๅฏๅจ็ฝๅ
ณๅนถ่งๅฏๆฅๅฟ
03:11:48 [plugins] openclaw gateway --port 18789 --verbose
Config warnings:
- plugins.entries.feishu: plugin feishu: duplicate plugin id detected; later plugin may be overridden (/usr/lib/node_modules/openclaw/extensions/feishu/index.ts)
Installed plugin: wecom-app
Restart the gateway to load plugins.
# setup
openclaw china setup
ๆไปถ่ทฏๅพ:
/root/.openclaw/extensions
้
็ฝฎๆไปถ:
/root/.openclaw/openclaw.json
ๆดๆฐๆไปถ:
openclaw plugins update <plugin-id>
้กน็ฎไปๅบ:
https://github.com/BytePioneer-AI/openclaw-china
โญ ๅฆๆ่ฟไธช้กน็ฎๅฏนไฝ ๆๅธฎๅฉ๏ผ่ฏท็ปๆไปฌไธไธช Star๏ผโญ
ไธไธๆญฅ:
openclaw gateway --port 18789 --verbose
# view status
openclaw gateway status
๐ฆ OpenClaw 2026.2.6-3 (85ed6c7) โ Chat APIs that dont require a Senate hearing.
โ
Service: systemd (enabled)
File logs: /tmp/openclaw/openclaw-2026-03-01.log
Command: /usr/bin/node /usr/lib/node_modules/openclaw/dist/index.js gateway --port 18789
Service file: ~/.config/systemd/user/openclaw-gateway.service
Service env: OPENCLAW_GATEWAY_PORT=18789
Config (cli): ~/.openclaw/openclaw.json
Config (service): ~/.openclaw/openclaw.json
Gateway: bind=loopback (127.0.0.1), port=18789 (service args)
Probe target: ws://127.0.0.1:18789
Dashboard: http://127.0.0.1:18789/
Probe note: Loopback-only gateway; only local clients can connect.
Runtime: running (pid 1462, state active, sub running, last exit 0, reason 0)
RPC probe: ok
Listening: 127.0.0.1:18789
Troubles: run openclaw status
Troubleshooting: https://docs.openclaw.ai/troubleshooting
# restart gateway
openclaw gateway restart
Installation
# curl -fsSL https://openclaw.ai/install.sh | bash
๐ฆ OpenClaw Installer
Your .env is showing; don't worry, I'll pretend I didn't see it.
โ Detected: linux
Install plan
OS: linux
Install method: npm
Requested version: latest
[1/3] Preparing environment
ยท Node.js not found, installing it now
ยท Installing Node.js via NodeSource
ยท Installing Linux build tools (make/g++/cmake/python3)
โ Build tools installed
โ Node.js v22 installed
ยท Active Node.js: v22.22.0 (/usr/bin/node)
ยท Active npm: 10.9.4 (/usr/bin/npm)
[2/3] Installing OpenClaw
โ Git already installed
ยท Installing OpenClaw v2026.3.24
โ OpenClaw npm package installed
โ OpenClaw installed
[3/3] Finalizing setup
๐ฆ OpenClaw installed successfully (OpenClaw 2026.3.24 (cff6dc9))!
Cozy. I've already read your calendar. We need to talk.
ยท Starting setup
๐ฆ OpenClaw 2026.3.24 (cff6dc9) โ If something's on fire, I can't extinguish itโbut I can write a beautiful postmortem.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฆ OPENCLAW ๐ฆ
โ OpenClaw setup
โ
โ Security โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Security warning โ please read. โ
โ โ
โ OpenClaw is a hobby project and still in beta. Expect sharp edges. โ
โ By default, OpenClaw is a personal agent: one trusted operator boundary. โ
โ This bot can read files and run actions if tools are enabled. โ
โ A bad prompt can trick it into doing unsafe things. โ
โ โ
โ OpenClaw is not a hostile multi-tenant boundary by default. โ
โ If multiple users can message one tool-enabled agent, they share that delegated tool โ
โ authority. โ
โ โ
โ If youโre not comfortable with security hardening and access control, donโt run โ
โ OpenClaw. โ
โ Ask someone experienced to help before enabling tools or exposing it to the internet. โ
โ โ
โ Recommended baseline: โ
โ - Pairing/allowlists + mention gating. โ
โ - Multi-user/shared inbox: split trust boundaries (separate gateway/credentials, ideally โ
โ separate OS users/hosts). โ
โ - Sandbox + least-privilege tools. โ
โ - Shared inboxes: isolate DM sessions (`session.dmScope: per-channel-peer`) and keep โ
โ tool access minimal. โ
โ - Keep secrets out of the agentโs reachable filesystem. โ
โ - Use the strongest available model for any bot with tools or untrusted inboxes. โ
โ โ
โ Run regularly: โ
โ openclaw security audit --deep โ
โ openclaw security audit --fix โ
โ โ
โ Must read: https://docs.openclaw.ai/gateway/security โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ๏ฟฝ๏ฟฝโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ I understand this is personal-by-default and shared/multi-user use requires lock-down. Continue?
โ โ Yes / โ No
cd ~
vim .openclaw/openclaw.json
# ๆฟๆขๆไฝ ๅฎ้
่ฎฟ้ฎ็ๅๅ๏ผไพๅฆ https://openclaw.yourdomain.com
openclaw config set gateway.controlUi.allowedOrigins '["https://openclaw.yourdomain.com"]'
openclaw devices list
openclaw devices approve "<request_id>"
Page Source