Tutorial
This cheat sheet covers all OpenClaw CLI commands, flags, and options. Bookmark this page for quick reference.
Core Commands
- openclaw chatStart interactive chat session
- openclaw onboardRun interactive setup wizard
- openclaw --versionShow version information
- openclaw --helpShow help message
Daemon Management
- openclaw daemon startStart the background daemon
- openclaw daemon stopStop the daemon
- openclaw daemon restartRestart the daemon
- openclaw daemon statusCheck daemon status
- openclaw daemon logsView daemon logs
- openclaw daemon logs --followTail daemon logs in real-time
- openclaw daemon installInstall as system service
Configuration
- openclaw config get <key>Get a config value
- openclaw config set <key> <value>Set a config value
- openclaw config listList all config values
- openclaw config editOpen config in editor
- openclaw config resetReset to defaults
Integration Commands
- openclaw integrations listList configured integrations
- openclaw integrations status <name>Check integration status
- openclaw integrations enable <name>Enable an integration
- openclaw integrations disable <name>Disable an integration
- openclaw discord inviteGenerate Discord invite URL
Agent Management
- openclaw agents listList all agents
- openclaw agents create <name>Create a new agent
- openclaw agents delete <id>Delete an agent
- openclaw agents export <id>Export agent config
- openclaw agents import <file>Import agent config
Skill Commands
- openclaw skills listList installed skills
- openclaw skills install <name>Install a skill
- openclaw skills uninstall <name>Uninstall a skill
- openclaw skills search <query>Search skill registry
- openclaw skills updateUpdate all skills
Global Flags
- --verbose, -vEnable verbose output
- --quiet, -qSuppress non-error output
- --config <path>Use custom config file
- --no-colorDisable colored output
- --jsonOutput in JSON format
Chat Flags
- --agent <name>Use specific agent
- --model <model>Use specific model
- --temperature <0-1>Set response randomness
- --max-tokens <n>Limit response length
- --system <prompt>Set system prompt
Environment Variables
- OPENCLAW_CONFIG_DIRCustom config directory
- OPENCLAW_LOG_LEVELLog level (debug, info, warn, error)
- ANTHROPIC_API_KEYClaude API key
- OPENAI_API_KEYOpenAI API key
Pro Tip: Use
openclaw <command> --help to see detailed help for any specific command.
Quick Examples
# Start chat with specific agent
openclaw chat --agent coding-assistant
# Check daemon status with JSON output
openclaw daemon status --json
# Enable verbose logging
openclaw --verbose chat
# Create new agent
openclaw agents create writer --temperature 0.9
# Install a skill
openclaw skills install @openclaw/skill-git
Related Articles
References
- OpenClaw Official Documentation - https://docs.openclaw.ai/ - Accessed February 2026
- OpenClaw GitHub Repository - https://github.com/openclaw/openclaw - Accessed February 2026
- OpenClaw CLI Reference - Command Line Interface - Accessed February 2026
Reference Trail
External sources surfaced from the underlying article content
- https://docs.openclaw.ai/docs.openclaw.ai
- https://github.com/openclaw/openclawgithub.com
- Command Line Interfacedocs.openclaw.ai