#How to wipe OpenClaw completely from my system?
1 messages ยท Page 1 of 1 (latest)
Let me check the actual docs first so I don't give you made-up paths.
Yep, if you want a true clean slate before moving to Docker, the easiest official path is:
openclaw uninstall --all --yes --non-interactive
That removes the managed service, state/config, workspace, and macOS app (if present).
If you also want the CLI itself gone, remove the global install too:
npm rm -g openclaw
# or
pnpm remove -g openclaw
# or
bun remove -g openclaw
If you installed from a git checkout, also delete that repo folder after uninstalling the service.
A couple of gotchas:
- default state dir is
~/.openclaw - if you used profiles, also check
~/.openclaw-<profile> - if you set
OPENCLAW_STATE_DIRorOPENCLAW_CONFIG_PATH, clean those custom paths too
If the CLI is already broken/missing, manual service removal is:
Linux
systemctl --user disable --now openclaw-gateway.service
rm -f ~/.config/systemd/user/openclaw-gateway.service
systemctl --user daemon-reload