openclaw
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseOpenClaw CLI
OpenClaw CLI
Overview
概述
OpenClaw is a multi-channel messaging and agent platform. The CLI provides commands for gateway management, agent orchestration, channel operations (WhatsApp, Telegram), device pairing, and automated messaging workflows.
OpenClaw是一个多渠道消息与Agent平台。其CLI提供网关管理、Agent编排、渠道操作(WhatsApp、Telegram)、设备配对以及自动化消息工作流的相关命令。
Quick Reference
快速参考
bash
undefinedbash
undefinedCheck CLI version and help
Check CLI version and help
openclaw --version
openclaw --help
openclaw --version
openclaw --help
Setup and configuration
Setup and configuration
openclaw setup # Initialize config and workspace
openclaw onboard # Interactive setup wizard
openclaw configure # Set credentials and defaults
openclaw doctor # Health checks and diagnostics
openclaw setup # Initialize config and workspace
openclaw onboard # Interactive setup wizard
openclaw configure # Set credentials and defaults
openclaw doctor # Health checks and diagnostics
Gateway operations
Gateway operations
openclaw gateway # Start the WebSocket gateway
openclaw gateway --port 18789 # Custom port
openclaw --dev gateway # Dev mode (isolated state, port 19001)
openclaw health # Check gateway health
openclaw status # Channel health and sessions
openclaw gateway # Start the WebSocket gateway
openclaw gateway --port 18789 # Custom port
openclaw --dev gateway # Dev mode (isolated state, port 19001)
openclaw health # Check gateway health
openclaw status # Channel health and sessions
Agent operations
Agent operations
openclaw agent --to +15555550123 --message "Hello"
openclaw agents # Manage agent workspaces
openclaw agent --to +15555550123 --message "Hello"
openclaw agents # Manage agent workspaces
Messaging
Messaging
openclaw message send --target +15555550123 --message "Hi"
openclaw message send --channel telegram --target @mychat --message "Hi"
openclaw message send --target +15555550123 --message "Hi"
openclaw message send --channel telegram --target @mychat --message "Hi"
Channel management
Channel management
openclaw channels login --verbose # Link WhatsApp/Telegram
openclaw channels # Manage channels
openclaw channels login --verbose # Link WhatsApp/Telegram
openclaw channels # Manage channels
Device and session management
Device and session management
openclaw devices # Device pairing and tokens
openclaw sessions # List conversation sessions
undefinedopenclaw devices # Device pairing and tokens
openclaw sessions # List conversation sessions
undefinedCommon Workflows
常见工作流
Initial Setup
初始设置
bash
openclaw setup
openclaw onboard
openclaw channels login --verbosebash
openclaw setup
openclaw onboard
openclaw channels login --verboseStart Gateway and Send Message
启动网关并发送消息
bash
openclaw gateway &
openclaw message send --target +15555550123 --message "Test"bash
openclaw gateway &
openclaw message send --target +15555550123 --message "Test"Run Agent Turn
运行Agent轮次
bash
openclaw agent --to +15555550123 --message "Run summary" --deliverbash
openclaw agent --to +15555550123 --message "Run summary" --deliverProfile Isolation
配置文件隔离
Use or to isolate state:
--dev--profile <name>bash
openclaw --dev gateway # Uses ~/.openclaw-dev
openclaw --profile test gateway # Uses ~/.openclaw-test使用或来隔离状态:
--dev--profile <name>bash
openclaw --dev gateway # Uses ~/.openclaw-dev
openclaw --profile test gateway # Uses ~/.openclaw-testDocumentation
文档
Run for the latest available commands and options.
openclaw --helpFull documentation: https://docs.openclaw.ai/cli
运行获取最新可用命令与选项。
openclaw --help