Aktualisierung

OpenClaw entwickelt sich schnell (vor “1.0”). Behandle Updates wie Infrastruktur-Deployments: aktualisieren → Checks ausführen → neustarten (oder openclaw update verwenden, das automatisch neustartet) → verifizieren.

Empfohlen: Website-Installer erneut ausführen (Upgrade in-place)

Der bevorzugte Update-Pfad ist, den Installer von der Website erneut auszuführen. Er erkennt bestehende Installationen, aktualisiert in-place und führt openclaw doctor bei Bedarf aus.

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

Hinweise:

  • Füge --no-onboard hinzu, wenn der Einrichtungsassistent nicht erneut laufen soll.

  • Für Quellcode-Installationen:

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

Vor dem Update

  • Kenne deine Installationsmethode: global (npm/pnpm) vs aus Quellcode (git clone).
  • Kenne den Betriebsmodus deines Gateways: Vordergrund-Terminal vs überwachter Service (launchd/systemd).

Aktualisieren (globale Installation)

npm i -g openclaw@latest
pnpm add -g openclaw@latest

Für Kanalwechsel:

openclaw update --channel beta
openclaw update --channel dev
openclaw update --channel stable

Siehe Entwicklungskanäle für Kanal-Semantik.

Dann:

openclaw doctor
openclaw gateway restart
openclaw health

Aktualisieren (openclaw update)

Für Quellcode-Installationen (Git-Checkout):

openclaw update

Führt einen sicheren Update-Ablauf aus: erfordert sauberen Worktree, wechselt zum gewählten Kanal, Fetch + Rebase, installiert Deps, baut, führt Doctor aus und startet das Gateway neu.

Rollback / Version pinnen (wenn etwas kaputt geht)

Pinnen (globale Installation)

npm i -g openclaw@<version>

Pinnen (Quellcode) nach Datum

git fetch origin
git checkout "$(git rev-list -n 1 --before=\"2026-01-01\" origin/main)"
pnpm install
pnpm build
openclaw gateway restart

Immer ausführen: openclaw doctor

Doctor ist der “sichere Update”-Befehl. Absichtlich langweilig: reparieren + migrieren + warnen.

Details: Doctor

Wenn du nicht weiterkommst