加入我们的 Telegram 社群 (clawdbotCN) 学习分享和了解更多 →
en
CLI
CLI Reference

CLI Command Reference

The Clawdbot CLI is the primary tool for managing the gateway and agent interactions.

Core Commands

Setup and Onboarding

clawdbot setup       # Initialize workspace
clawdbot onboard     # Run interactive wizard

Gateway Management

clawdbot gateway run      # Run in foreground
clawdbot gateway start    # Start service
clawdbot gateway stop     # Stop service
clawdbot gateway restart  # Restart service
clawdbot gateway install  # Install system service

Channel Management

clawdbot channels status           # View status
clawdbot channels login whatsapp   # Login to channel
clawdbot channels reconnect        # Reconnect

Agent Management

clawdbot agents list      # List agents
clawdbot agents add work  # Add agent
clawdbot agents remove    # Remove agent

Diagnostics

clawdbot status       # Basic status
clawdbot status --all # Full diagnosis
clawdbot doctor       # Run diagnostics
clawdbot logs         # View logs

Global Options

--dev          # Use isolated dev state
--profile      # Use named profile
--no-color     # Disable colors
--json         # JSON output