Skip to Content
👋 Willkommen bei HowToUseOpenClaw Schnellstart
InstallationÜberblick

OpenClaw installieren

Nutze den Installer. Außer du hast einen Grund dagegen — dann findest du unten npm, Docker, Nix und mehr.

Schnellinstallation

Mac / Linux:

curl -fsSL https://molt.bot/install.sh | bash

Windows (PowerShell):

iwr -useb https://molt.bot/install.ps1 | iex

Das war’s. Das Skript installiert die CLI und startet das Onboarding. Wenn du das Onboarding jetzt überspringst, führe es später aus:

openclaw onboard --install-daemon

Was du brauchst

  • Node.js 22+ — Einzige harte Voraussetzung. Der Installer kann es für dich einrichten (Homebrew auf macOS, NodeSource auf Linux).
  • macOS, Linux oder Windows (WSL2) — Natives Windows ist ungetestet; WSL2 ist der Weg.
  • pnpm — Nur wenn du aus den Quellen baust.

Installationswege

1) Installer-Skript (empfohlen)

Globale npm-Installation + optionales Onboarding in einem Durchgang:

curl -fsSL https://molt.bot/install.sh | bash

Alle Optionen anzeigen:

curl -fsSL https://molt.bot/install.sh | bash -s -- --help

Wizard überspringen (CI / scripted installs):

curl -fsSL https://molt.bot/install.sh | bash -s -- --no-onboard

Details: Installer-Interna.

2) Globale Installation (manuell)

Hast du schon Node 22+?

npm install -g openclaw@latest

Wenn sharp Probleme macht (z. B. libvips von Homebrew), Prebuilt-Binaries erzwingen:

SHARP_IGNORE_GLOBAL_LIBVIPS=1 npm install -g openclaw@latest

Oder mit pnpm:

pnpm add -g openclaw@latest

Dann den Wizard selbst starten:

openclaw onboard --install-daemon

3) Aus den Quellen (Contributors / Dev)

git clone https://github.com/openclaw/openclaw.git cd openclaw pnpm install pnpm ui:build pnpm build openclaw onboard --install-daemon

Keine globale Installation? Nutze pnpm openclaw ... aus dem Repo.

4) Weitere Optionen

  • DockerDocker (containerisiertes Gateway oder Sandbox)
  • NixNix
  • AnsibleAnsible
  • Bun (nur CLI)Bun

Nach der Installation

  • Onboarding: openclaw onboard --install-daemon
  • Sanity-Check: openclaw doctor
  • Gateway-Status: openclaw status und openclaw gateway probe
  • Dashboard: openclaw dashboardhttp://127.0.0.1:18789/

Installationsmethode: npm vs. git (Installer)

Der Installer kann zwei Dinge tun:

  • npm (Standard) — npm install -g openclaw@latest
  • git — Repo klonen, bauen und aus einem Checkout starten (praktisch, wenn du schon im Repo bist)

Optionen:

  • --install-method npm|git
  • --git-dir <path> (Standard: ~/openclaw)
  • --no-git-update — Kein Pull bei bestehendem Checkout
  • --no-prompt — Keine Prompts (für CI)
  • --dry-run — Nur anzeigen, was passieren würde, nichts ändern
  • --no-onboard — Onboarding überspringen

Gleiches per Umgebung: CLAWDBOT_INSTALL_METHOD, CLAWDBOT_GIT_DIR, CLAWDBOT_NO_PROMPT, CLAWDBOT_DRY_RUN, CLAWDBOT_NO_ONBOARD, SHARP_IGNORE_GLOBAL_LIBVIPS.

Fehlerbehebung: openclaw nicht gefunden (PATH)

Die Shell findet die globalen npm-Binaries nicht. Schnellcheck:

node -v npm -v npm prefix -g echo "$PATH"

Wenn $(npm prefix -g)/bin (macOS/Linux) nicht in PATH steht, hinzufügen. Beispiel für zsh/bash:

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

In ~/.zshrc oder ~/.bashrc eintragen, dann neues Terminal öffnen (oder rehash / hash -r). Unter Windows die Ausgabe von npm prefix -g (und dessen \bin) zur PATH-Variable hinzufügen.

Update / Deinstallation

Zuletzt aktualisiert am: