> ## Documentation Index
> Fetch the complete documentation index at: https://labs.prompthon.io/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenClaw Commands

> A quick reference for gateway, dashboard, health, config, update, and troubleshooting commands.

Need help?

[Ask in Discord](https://discord.gg/sDE2HhGTg4)

[Open a GitHub issue](https://github.com/Prompthon-IO/agent-systems-handbook/issues/new/choose)

[Support guide](https://github.com/Prompthon-IO/agent-systems-handbook/blob/main/SUPPORT.md)

> [!NOTE]
>
> Replace placeholders like `<GATEWAY_HOST>` and `<DASHBOARD_URL>` with your
> actual values.

## Start And Stop Gateway

```bash theme={null}
# Start. Recommended: run this in a tmux session.
openclaw gateway start

# Start with a config file.
openclaw gateway start --config ./config/gateway.yaml

# Stop.
openclaw gateway stop

# Restart.
openclaw gateway restart

# Check status.
openclaw gateway status

# Follow logs, if supported.
openclaw gateway logs --follow
```

## Dashboard

```bash theme={null}
# Start dashboard.
openclaw dashboard

# Stop dashboard.
openclaw dashboard stop

# Open dashboard in browser, if supported.
openclaw dashboard open

# Print dashboard URL or status.
openclaw dashboard status
```

## Health Checks

```bash theme={null}
# Ping gateway.
openclaw gateway ping

# Check system health.
openclaw health
```

## Configuration

```bash theme={null}
# Show current config.
openclaw config show

# Validate a config file.
openclaw config validate --config ./config/gateway.yaml
```

## Updates And Version

```bash theme={null}
# Check version.
openclaw --version

# Self update, if supported.
openclaw update
```

## Troubleshooting

```bash theme={null}
# Show environment diagnostics.
openclaw doctor

# Increase logging.
openclaw gateway start --log-level debug

# Show running processes, if supported.
openclaw ps

# Follow logs.
openclaw logs --follow
```

## Model Configuration

```bash theme={null}
# Change to a Codex-backed model profile.
openclaw models set openai-codex/gpt-5.3-codex

# Set the primary default model in config.
openclaw config set agents.defaults.model.primary openai/gpt-5.5
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.