This guide summarises the official installation flow and adds the hardening steps we use for business installs. Commands change between releases, so always cross-check with the official OpenClaw documentation before running them.
1. Choose where it will run
OpenClaw can run on a Mac, Linux machine or Windows via WSL2, but for an always-on business assistant a small cloud VPS is the usual choice. For business workloads we start at around 2 vCPUs and 8 GB RAM.
2. Install Node.js
OpenClaw requires a current Node.js release — the docs list Node 22 or newer, with newer LTS versions recommended. Install it with your system's package manager or a version manager.
3. Install the OpenClaw CLI
The documented npm install is a single global package install of openclaw@latest. The project also provides an install script, Docker and other methods — pick one and stick to it.
npm install -g openclaw@latest
4. Run onboarding and install the gateway service
The onboarding wizard walks you through choosing a model provider, adding your API key and configuring the Gateway. Adding the daemon flag installs the gateway as a background service so it survives restarts.
openclaw onboard --install-daemon
5. Verify and open the dashboard
Check the gateway status, then open the local dashboard to send your first message.
openclaw gateway status
openclaw dashboard
6. Connect a channel
Pair the chat app you want to use (for example WhatsApp) using the channel login flow described in the docs, and restrict access to your own accounts.
7. Harden the installation
- Keep the gateway bound to loopback (local only) and reach it through SSH tunnels or a private network — never expose it publicly.
- Enable gateway authentication and keep the token secret.
- Apply firewall rules and SSH key-only access on the server.
- Set spending limits with your model provider.
- Grant skills and tool permissions only as needed, and require confirmation for sensitive actions.
- Back up your configuration and keep OpenClaw updated.
Prefer to skip the setup?
We install, secure and document OpenClaw for businesses, and can host it for you on a dedicated server. See OpenClaw setup and OpenClaw hosting, or read what OpenClaw is first.