Install
Already followed Getting Started? You’re all set — this page is for alternative install methods, platform-specific instructions, and maintenance.
System requirements
- Node 22+ (the installer script will install it if missing)
- macOS, Linux, or Windows
pnpmonly if you build from source
ℹ️ On Windows, we strongly recommend running OpenClaw under WSL2.
Install methods
💡 The installer script is the recommended way to install OpenClaw. It handles Node detection, installation, and onboarding in one step.
⚠️ For VPS/cloud hosts, avoid third-party “1-click” marketplace images when possible. Prefer a clean base OS image (for example Ubuntu LTS), then install OpenClaw yourself with the installer script.
Other install methods
Docker
Containerized or headless deployments.
Podman
Rootless container: run setup-podman.sh once, then the launch script.
Nix
Declarative install via Nix.
Ansible
Automated fleet provisioning.
Bun
CLI-only usage via the Bun runtime.
After install
Verify everything is working:
openclaw doctor # check for config issues
openclaw status # gateway status
openclaw dashboard # open the browser UI
If you need custom runtime paths, use:
OPENCLAW_HOMEfor home-directory based internal pathsOPENCLAW_STATE_DIRfor mutable state locationOPENCLAW_CONFIG_PATHfor config file location
See Environment vars for precedence and full details.