GuidesRunning & maintaining

How to uninstall OpenClaw completely

Removing OpenClaw properly takes three steps: stop the background service, remove the package, and decide what happens to your agent's data. In order.

July 17, 2026The Everpod team
The short answer

Three steps, in this order: stop the background service so it can’t respawn (openclaw gateway stop --disable), remove the package (npm uninstall -g openclaw), and then decide deliberately about ~/.openclaw — the directory holding your agent’s memory, config, and credentials. Deleting the package without handling the service and the state directory is why “it’s still running” and “my keys are still on disk” are the two classic uninstall surprises.

Step 1: stop the Gateway — permanently

The install registered the Gateway as a supervised background service (launchd on macOS, a systemd user service on Linux, a Scheduled Task named “OpenClaw Gateway” on Windows) — and supervised services are built to come back. A plain stop can be undone by the supervisor’s auto-restart or the next reboot; what you want is:

openclaw gateway stop --disable

— stop and disable respawn. This is the step people skip, and the reason an “uninstalled” agent greets them after the next reboot. Verify with openclaw gateway status before moving on (on Windows, Task Scheduler should no longer show the task as ready).

Step 2: remove the package

npm uninstall -g openclaw

The mirror image of the install. For Docker setups the equivalent is docker compose down plus removing the images — and the same warning applies double: the volumes ARE your agent; down alone leaves them, adding -v destroys them.

Step 3: the state directory — a decision, not a deletion

Uninstalling the package leaves ~/.openclaw untouched, and that’s the right default: that directory is your agent — its memory, identity, sessions, config, and stored credentials (model keys, channel tokens, linked-session secrets). Choose deliberately:

The checklist version

(If the reason you’re uninstalling is that operating it stopped being fun rather than the agent itself — that’s a hosting problem, not an OpenClaw problem, and it has gentler fixes than deletion.)

Don’t want to run it yourself?

Everpod hosts OpenClaw for you: a private, always-on cloud computer of your agent’s own — set up, secured, and backed up, with its software kept up to date and $10 of model usage included every month. Nothing to configure, no surprise bills — just say hello.

Request early access
$29/mo · $10 model usage included · cancel anytime