Getting Started with OpenClaw: Complete Installation Guide
How to install OpenClaw: system requirements, installation commands, configuration, and first run. Start your OpenClaw server with this step-by-step guide.
Prerequisites & Requirements
Before installing OpenClaw, make sure your system meets the minimum requirements.
- 64-bit Linux, macOS, or WSL2 on Windows
- 4 GB RAM minimum (8 GB recommended)
- Node.js 22+ (check with
node --version) - A supported model backend (Ollama, vLLM, or compatible API)
node --version to verify. Older versions will fail silently during startup.Installation
Choose your platform below for the appropriate install commands.
The easiest way to install OpenClaw on macOS or Linux:
curl -fsSL https://openclaw.ai/install.sh | bashFor Windows (PowerShell):
iwr -useb https://openclaw.ai/install.ps1 | iexFirst Run
After installation, run the onboarding wizard to configure your Gateway:
openclaw onboard --install-daemonThe wizard will guide you through setting up authentication, gateway settings, and optional channels.
Run the wizard
Run the onboarding command above. It will prompt you for:
- API key configuration (Anthropic, OpenAI, etc.)
- Gateway settings
- Optional channel setup (Telegram, Discord, WhatsApp)
Check Gateway status
If you installed as a service, it should already be running:
openclaw gateway statusOpen the dashboard
Launch the Control UI in your browser:
openclaw dashboardOr open http://127.0.0.1:18789/ on the gateway host.
Verify Installation
Check your Gateway status:
openclaw gateway status
# Or check the health endpoint:
curl http://localhost:18789/api/healthmodels: 0, your model backend is likely not running. Check the troubleshooting guide for common errors.Next Steps
- Set up a reverse proxy for production access (Caddy or Nginx)
- Configure model routing and context window settings
- Review the performance tuning guide for high-traffic deployments
- Join the Discord community for support and config sharing