OpenClaw CLI: Essential Commands
The OpenClaw CLI is your primary tool for managing the agent from the terminal. Here are the commands you'll use most often.
Core commands: - openclaw onboard: First-time setup wizard - openclaw config: View and edit configuration - openclaw pair <messenger>: Connect a messenger - openclaw gateway start/stop/restart: Manage the Gateway process - openclaw status: Show agent status (uptime, connected messengers, model)
Skill management: - openclaw skill list: Show installed skills - openclaw skill install <name>: Install from ClawHub - openclaw skill remove <name>: Uninstall a skill - openclaw skill search <query>: Find skills on ClawHub
Diagnostics: - openclaw doctor: Check system health (Node.js, ports, config, connectivity) - openclaw gateway logs: View real-time logs - openclaw --version: Show version
Workspace management: - openclaw workspace create/use/list: Manage workspaces
Memory: - openclaw memory list/search/clear: Manage agent memory
All commands support --help for detailed usage. Tab completion is available if you install the shell completions (openclaw completions install).
The CLI is the fastest way to manage OpenClaw, especially on headless servers. For visual management, use the Dashboard instead.
openclaw --help openclaw config show openclaw pair --list openclaw skill list openclaw doctor openclaw gateway logs --follow