1.4 KiB
1.4 KiB
OpenClaw Deployment and Operations
Reference normalized against:
https://docs.openclaw.ai/installhttps://docs.openclaw.ai/install/dockerhttps://docs.openclaw.ai/install/updatinghttps://docs.openclaw.ai/install/uninstall
Last verified: 2026-02-17.
Local Install and Onboarding
- Install CLI via official install flow from docs.
- Run
openclaw onboardto initialize and connect providers/channels. - Validate with
openclaw doctor.
Docker Deployment
- Use the official Docker guide under
/install/docker. - Typical lifecycle:
docker compose up -ddocker compose logs -fdocker compose down
- Keep OpenClaw state mounted on persistent volume.
Service Lifecycle
openclaw gateway install: Install background service.openclaw gateway restart: Restart service.openclaw gateway status: Check runtime status.openclaw gateway uninstall: Remove service.
Updating and Rollback
- Update CLI:
openclaw update - If rollback is needed, reinstall pinned version using the official package path described in docs.
- Re-run
openclaw doctorafter updates.
Uninstall
- Use
openclaw uninstallfor full removal flow. - Confirm whether state data should be preserved or removed.
Production Safety Checklist
- Set strong
gateway.auth.token. - Avoid public bind unless required.
- Use VPN/Tailscale or private network for remote access.
- Monitor with
openclaw gateway health.