Skip to main content

CLI Command Reference

A quick reference for the most commonly used OpenClaw CLI commands.

General​

CommandDescription
openclaw --versionPrint the CLI version
openclaw statusShow instance status overview
openclaw status --deepDetailed status probe of all subsystems
openclaw logs --followStream live logs from the gateway

Configuration​

CommandDescription
openclaw config get <path>Read a configuration value
openclaw config set <path> <value>Set a configuration value

Examples:

# Check the current AI model
openclaw config get agent.model

# Set the AI model
openclaw config set agent.model "anthropic/claude-sonnet-4-5"

Channels​

CommandDescription
openclaw channels listList all channels and their status
openclaw channels loginStart the login flow for a channel
openclaw channels capabilitiesShow what each channel supports

Models​

CommandDescription
openclaw models list --allList all available AI models
openclaw models set <provider/model>Set the active model
openclaw models auth addAdd authentication for a model provider

Examples:

# List models from all providers
openclaw models list --all

# Switch to a different model
openclaw models set openai/gpt-4o

Gateway​

CommandDescription
openclaw gateway statusCheck if the gateway is running
openclaw gateway startStart the gateway
openclaw gateway stopStop the gateway
openclaw gateway restartRestart the gateway
info

On OpenClaw Host, the gateway is managed automatically. These commands are mainly useful for debugging or if you need to force a restart.

Skills​

CommandDescription
openclaw skills listList installed skills
openclaw skills list --eligibleList skills available for installation
openclaw skills info <skill>Show details about a specific skill

Messaging​

CommandDescription
openclaw agent --message "text" --deliverSend a one-off message through the agent
openclaw message send --target <id> --message "text"Send a direct message to a contact

Plugins​

CommandDescription
openclaw plugins listList all plugins and their status
openclaw plugins enable <name>Enable a plugin
openclaw plugins disable <name>Disable a plugin