Installatiegids voor OpenClaw
OpenClaw ondersteunt meerdere installatiemethoden. Kies de methode die het beste bij je behoeften past.
Vereisten
- Node.js: 22.x of hoger
- Besturingssysteem: macOS, Linux, Windows (via WSL2)
- Optioneel: Tailscale (voor toegang op afstand)
Snelle installatie
macOS / Linux
De makkelijkste manier is het gebruik van het installatiescript:
curl -fsSL https://openclaw.ai/install.sh | bash
Of via npm/pnpm:
npm install -g openclaw@latest
# or
pnpm add -g openclaw@latest
Windows (PowerShell)
iwr -useb https://openclaw.ai/install.ps1 | iex
Initiële configuratie
Voer na de installatie de onboarding-wizard uit:
openclaw onboard --install-daemon
De wizard begeleidt je door:
- Auth-configuratie: API-sleutels of OAuth instellen
- Gateway-instellingen: Gateway-poort en -dienst configureren
- Kanaalverbinding: Berichtenplatforms verbinden
- Vaardigheden installeren: Benodigde vaardigheden selecteren en installeren
Installeren als systeemdienst
Gebruik --install-daemon om OpenClaw als achtergronddienst te installeren:
openclaw onboard --install-daemon
Hiermee wordt een dienst op gebruikersniveau aangemaakt (launchd of systemd) die zorgt dat OpenClaw altijd draait.
Gateway handmatig uitvoeren
Als je liever niet als dienst installeert:
openclaw gateway --port 18789 --verbose
Docker-installatie
Als je liever Docker gebruikt, raadpleeg dan de officiële Docker-deploymentdocumentatie.
Bouwen vanuit broncode
Als je wilt bijdragen aan of OpenClaw wilt aanpassen:
git clone https://github.com/openclaw/openclaw.git
cd openclaw
pnpm install
pnpm ui:build
pnpm build
pnpm openclaw onboard --install-daemon
Let op: pnpm wordt gebruikt voor builds. TypeScript kan rechtstreeks worden uitgevoerd via tsx.
Installatie verifiëren
Na de installatie kun je:
Gateway-status controleren:
openclaw gateway statusControl UI openen:
openclaw dashboardOf bezoek
http://127.0.0.1:18789/in je browserEen testbericht versturen (vereist kanaalconfiguratie):
openclaw message send --target +15555550123 --message "Hello from OpenClaw"
OpenClaw bijwerken
OpenClaw heeft drie releasekanalen:
- stable: Officiële releases (aanbevolen)
- beta: Vooruitgangsversies
- dev: Development builds
Wissel van kanaal:
openclaw update --channel stable|beta|dev
Voer na het bijwerken uit:
openclaw doctor
Veelvoorkomende commando's
| Commando | Beschrijving |
|---|---|
openclaw onboard | Voer de installatiewizard uit |
openclaw gateway start | Start de Gateway |
openclaw gateway status | Controleer de Gateway-status |
openclaw dashboard | Open de Control UI |
openclaw agent --message "..." | Stuur een bericht naar de assistent |
openclaw message send --to xxx --message "xxx" | Stuur een bericht |
openclaw doctor | Diagnosticeer en herstel problemen |
openclaw update | Werk OpenClaw bij |
Omgevingsvariabelen
Voor aangepaste configuratielocaties:
OPENCLAW_HOME: Stelt de thuismap inOPENCLAW_STATE_DIR: Overschrijft de statusmapOPENCLAW_CONFIG_PATH: Overschrijft het pad van het configuratiebestand
Problemen oplossen
Installatie mislukt?
- Zorg ervoor dat de Node.js-versie >= 22 is
- Controleer de netwerkverbinding
- Voer
openclaw doctoruit voor een diagnose
Hoe verwijder ik het?
- Stop de Gateway-dienst
- Verwijder de installatiemap
- Ruim configuratiebestanden op
