This page covers the essential install and launch flow. For the full OpenClaw reference, see the OpenClaw GitHub repository.
Prerequisites
Confirm your environment meets the following requirements before installing.| Requirement | Minimum version / note |
|---|---|
| Operating system | macOS, Linux, or Windows (WSL2 recommended) |
| Node.js | ≥ 22 |
| Package manager | npm, pnpm, or bun |
nvm:
Install the OpenClaw CLI
Install the latest version globally:command not found, check that your global npm bin directory is on your PATH.
Run the onboarding wizard
Launch the interactive wizard and install the background daemon in one command:- Creates the OpenClaw working directory at
~/.openclaw - Guides you through model provider configuration (you can skip this now and configure Fhddos afterward)
- Sets default model and session parameters
- Configures communication channels (WhatsApp, Telegram, Slack, Lark/Feishu, WebChat, etc.)
- Installs and starts the gateway daemon
Start the gateway manually (debugging)
For development or troubleshooting, start the gateway in the foreground with verbose logging:- Default control plane address:
ws://127.0.0.1:18789 - The
--verboseflag prints detailed logs to help diagnose connection or configuration issues.
Basic usage
Once the gateway is running, try these commands to confirm everything works end-to-end.Send a message from the terminal
--to value format depends on your configured channel — phone number, chat ID, channel name, etc.
Run an agent conversation
Open the Web UI
After the gateway starts, open the URL printed in the logs (usuallyhttp://127.0.0.1:18789) in your browser. From the Web UI you can:
- Dashboard — view gateway status, nodes, and channel health
- WebChat — chat directly in the browser
- Channels — manage channel tokens and webhooks
- Models — inspect and adjust model provider settings
Advanced deployment
Run from source (development)
Run from source (development)
Deploy with Docker (server environments)
Deploy with Docker (server environments)
docker-compose.yml.Troubleshooting
command not found after install
command not found after install
- Confirm
npm install -g openclaw@latestcompleted without errors. - Run
npm bin -gto find the global bin path, then add it to yourPATH.
Node.js version too old
Node.js version too old
Install Node 22 or later using
nvm (see the prerequisites section above), then reinstall the OpenClaw CLI.Gateway fails to start
Gateway fails to start
Run the built-in diagnostics command:Follow the output prompts to check configuration, file permissions, and network access.
Channel cannot send or receive messages
Channel cannot send or receive messages
Re-run
openclaw onboard and review the token, certificate, and webhook settings for the affected channel.Next step
Connect to Fhddos
Configure Fhddos as your model provider and start routing AI calls through the Fhddos gateway.
