Getting Started
Goal: go from zero to a first working chat with minimal setup.
Prereqs
- Node 22 or newer
Quick setup (CLI)
<Note>
Other install methods and requirements: [Install](/install).
</Note>
The wizard configures auth, gateway settings, and optional channels.
See [Onboarding Wizard](/start/wizard) for details.
```bash
openclaw gateway status
```
Optional checks and extras
```bash
openclaw gateway --port 18789
```
```bash
openclaw message send --target +15555550123 --message "Hello from OpenClaw"
```
Useful environment variables
If you run OpenClaw as a service account or want custom config/state locations:
OPENCLAW_HOMEsets the home directory used for internal path resolution.OPENCLAW_STATE_DIRoverrides the state directory.OPENCLAW_CONFIG_PATHoverrides the config file path.
Full environment variable reference: Environment vars.
Go deeper
What you will have
- A running Gateway
- Auth configured
- Control UI access or a connected channel