Install overview

Installeren

Systeemvereisten

  • Node 24 (aanbevolen) of Node 22.16+ - het installatiescript regelt dit automatisch
  • macOS, Linux of Windows - zowel native Windows als WSL2 worden ondersteund; WSL2 is stabieler. Zie Windows.
  • pnpm is alleen nodig als je vanuit de broncode bouwt

Aanbevolen: installatiescript

De snelste manier om te installeren. Het detecteert je OS, installeert Node indien nodig, installeert OpenClaw en start de onboarding.

macOS / Linux / WSL2

bash
curl -fsSL https://openclaw.ai/install.sh | bash

Windows (PowerShell)

powershell
iwr -useb https://openclaw.ai/install.ps1 | iex

Installeren zonder onboarding uit te voeren:

macOS / Linux / WSL2

bash
curl -fsSL https://openclaw.ai/install.sh | bash -s -- --no-onboard

Windows (PowerShell)

powershell
& ([scriptblock]::Create((iwr -useb https://openclaw.ai/install.ps1))) -NoOnboard

Zie Interne werking van de installer voor alle vlaggen en CI-/automatiseringsopties.

Alternatieve installatiemethoden

Lokale prefix-installer (install-cli.sh)

Gebruik dit wanneer je OpenClaw en Node onder een lokale prefix zoals ~/.openclaw wilt houden, zonder afhankelijk te zijn van een systeembrede Node-installatie:

bash
curl -fsSL https://openclaw.ai/install-cli.sh | bash

Standaard worden npm-installaties ondersteund, plus git-checkout-installaties onder dezelfde prefix-flow. Volledige referentie: Interne werking van de installer.

Al geinstalleerd? Wissel tussen package- en git-installaties met openclaw update --channel dev en openclaw update --channel stable. Zie Bijwerken.

npm, pnpm of bun

Als je Node al zelf beheert:

npm

bash
npm install -g openclaw@latestopenclaw onboard --install-daemon

pnpm

bash
pnpm add -g openclaw@latestpnpm approve-builds -gopenclaw onboard --install-daemon

bun

bash
bun add -g openclaw@latestopenclaw onboard --install-daemon
Probleemoplossing: sharp-buildfouten (npm)

Als sharp mislukt door een globaal geinstalleerde libvips:

bash
SHARP_IGNORE_GLOBAL_LIBVIPS=1 npm install -g openclaw@latest

Vanuit broncode

Voor bijdragers of iedereen die vanuit een lokale checkout wil draaien:

bash
git clone https://github.com/openclaw/openclaw.gitcd openclawpnpm install && pnpm build && pnpm ui:buildpnpm link --globalopenclaw onboard --install-daemon

Of sla de link over en gebruik pnpm openclaw ... vanuit de repo. Zie Setup voor volledige ontwikkelworkflows.

Installeren vanaf GitHub main

bash
npm install -g github:openclaw/openclaw#main

Containers en packagemanagers

De installatie verifieren

bash
openclaw --version      # confirm the CLI is availableopenclaw doctor         # check for config issuesopenclaw gateway status # verify the Gateway is running

Als je beheerde opstart na installatie wilt:

  • macOS: LaunchAgent via openclaw onboard --install-daemon of openclaw gateway install
  • Linux/WSL2: systemd-gebruikersservice via dezelfde opdrachten
  • Native Windows: eerst Scheduled Task, met een login-item in de Startup-map per gebruiker als fallback als het maken van de taak wordt geweigerd

Hosting en deployment

Deploy OpenClaw op een cloudserver of VPS:

VPS
Docker-VM
Kubernetes
Fly.io
Hetzner
GCP
Azure
Railway
Render
Northflank

Bijwerken, migreren of verwijderen

Probleemoplossing: openclaw niet gevonden

Als de installatie is geslaagd, maar openclaw niet wordt gevonden in je terminal:

bash
node -v           # Node installed?npm prefix -g     # Where are global packages?echo "$PATH"      # Is the global bin dir in PATH?

Als $(npm prefix -g)/bin niet in je $PATH staat, voeg dit dan toe aan je shell-startupbestand (~/.zshrc of ~/.bashrc):

bash
export PATH="$(npm prefix -g)/bin:$PATH"

Open daarna een nieuwe terminal. Zie Node-setup voor meer details.

Was this useful?