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

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