System requirements
- Node 22.19+, 23.11+, or 24+ - Node 24 is the default target; the installer script handles this automatically.
- macOS, Linux, or Windows - Windows users can start with the native Windows Hub app, the PowerShell CLI installer, or a WSL2 Gateway. See Windows.
pnpmis only needed if you build from source.
Recommended: installer script
The fastest way to install. It detects your OS, installs Node if needed, installs OpenClaw, and launches onboarding.Windows desktop users can also install the native Windows Hub companion app, which includes setup, tray status, chat, node mode, and local MCP mode.
- macOS / Linux / WSL2
- Windows (PowerShell)
- macOS / Linux / WSL2
- Windows (PowerShell)
Alternative install methods
Local prefix installer (install-cli.sh)
Use this when you want OpenClaw and Node kept under a local prefix such as
~/.openclaw, without depending on a system-wide Node install:
openclaw update --channel dev and openclaw update --channel stable. See
Updating.
npm, pnpm, or bun
If you already manage Node yourself:- npm
- pnpm
- bun
The hosted installer clears npm freshness filters such as
min-release-age
for the OpenClaw package install. If you install manually with npm, your own
npm policy still applies.From source
For contributors or anyone who wants to run from a local checkout:pnpm openclaw ... from inside the repo. See Setup for full development workflows.
Install from the GitHub main checkout
Containers and package managers
Docker
Containerized or headless deployments.
Podman
Rootless container alternative to Docker.
Nix
Declarative install via Nix flake.
Ansible
Automated fleet provisioning.
Bun
CLI-only usage via the Bun runtime.
Verify the install
- macOS: LaunchAgent via
openclaw onboard --install-daemonoropenclaw gateway install - Linux/WSL2: systemd user service via the same commands
- Native Windows: Scheduled Task first, with a per-user Startup-folder login item fallback if task creation is denied
Hosting and deployment
Deploy OpenClaw on a cloud server or VPS. See Linux server for the full provider picker (DigitalOcean, Hetzner, Hostinger, Fly.io, GCP, Azure, Railway, Northflank, Oracle Cloud, Raspberry Pi, and more), or deploy declaratively on Render.VPS
Pick a provider.
Docker VM
Shared Docker steps.
Kubernetes
K8s deployment.
Update, migrate, or uninstall
Updating
Keep OpenClaw up to date.
Migrating
Move to a new machine.
Uninstall
Remove OpenClaw completely.
Troubleshooting: openclaw not found
Almost always a PATH issue: npm’s global bin directory isn’t on your shell’s PATH. See Node.js troubleshooting for the full fix, including the Windows path.