How to Uninstall OpenClaw: Complete Removal Guide

Uninstall OpenClaw

Complete OpenClaw uninstall guide: stop processes, delete files, revoke OAuth tokens from Google, Slack, Discord. Simply deleting the app leaves your accounts exposed.

Deleting the OpenClaw app is not enough. The OAuth tokens it created still exist on Google, Slack, and Discord servers, giving the app continued access to your accounts even after you remove it from your computer. Here's how to actually uninstall it.

Step 1: Stop All Running Processes

OpenClaw runs as a background service that auto-restarts. You need to kill it completely before deletion.

Run these commands in your terminal:

Kill the process:

pkill openclaw || pkill moltbot || pkill clawdbot

If you installed via systemd (Linux):

sudo systemctl stop openclaw && sudo systemctl disable openclaw

If running with PM2:

pm2 delete openclaw

If running in Docker:

docker stop openclaw && docker rm openclaw && docker volume prune

Step 2: Delete All Local Files

OpenClaw went through multiple rebrands (Clawdbot → Moltbot → OpenClaw), leaving config folders for each version. Delete them all:

rm -rf ~/.openclaw ~/.clawdbot ~/.moltbot

Delete the skill caches (third-party scripts that can auto-update):

rm -rf ~/.molthub ~/molthub-cache ~/.local/share/openclaw/

Remove the main application folder wherever you installed it.

Step 3: Revoke OAuth Tokens (Critical)

This is the most important step. Your accounts remain accessible until you manually revoke permissions.

Google: Go to myaccount.google.com/permissions. Look for "OpenClaw," "Moltbot," or "Clawdbot" and remove access. OpenClaw often has full Gmail and Calendar access.

Slack: Go to slack.com/apps/manage. Find and remove the "OpenClaw" app.

Discord: Open Settings → Authorized Apps. Deauthorize "OpenClaw" or "Clawd."

GitHub: Go to github.com/settings/applications. Check Authorized OAuth Apps and revoke OpenClaw.

Microsoft: Visit account.live.com/consent/Manage and remove OpenClaw permissions.

Notion: Go to Settings → My Connections and disconnect OpenClaw.

Step 4: Check for Compromise

If your OpenClaw instance was exposed to the internet, check these signs:

Gmail: Check your Sent and Trash folders for messages you didn't write.

Calendar: Look for invites or events you didn't create.

Shodan: Search your IP address on Shodan.io. If it shows "OpenClaw Control," your instance was publicly accessible. Assume your data was compromised.

Google Apps: Run a Google Security Checkup to find any "shadow apps" the agent may have installed.

Step 5: Rotate Your Credentials

Change passwords for every account OpenClaw accessed. This includes accounts linked to your primary email if OpenClaw had Gmail access.

Generate new passwords with at least 16 characters. Use a password manager.

Reset your two-factor authentication backup codes and re-enroll your authenticator app if OpenClaw had email access.

Why Uninstalling Isn't Enough

OAuth tokens are long-lived credentials stored on service provider servers, not on your computer. When you grant OpenClaw access to Google or Slack, those services issue tokens that remain valid until explicitly revoked. Deleting the app from your machine does nothing to invalidate these tokens.

Think of it like giving someone a key to your house. Moving the key from your kitchen drawer to the trash doesn't change the fact that the lock still works. You need to change the lock—that's what revoking tokens does.

Common Mistakes

Don't just uninstall and walk away. Hundreds of exposed OpenClaw instances leaked API keys, tokens, and conversation histories because users didn't revoke permissions.

Don't forget about Agent Skills. These third-party scripts can contain code that persists and auto-updates even after the main app is gone. Delete the ~/.molthub directory.

Don't skip the compromise check. If your instance was exposed, your accounts may have already been accessed. Change your passwords immediately.

Properly uninstalling OpenClaw takes 15-20 minutes, but it's the only way to ensure your accounts are actually secure. Follow all five steps, and don't skip the token revocation—that's where most people leave themselves vulnerable.

The above is the full content of How to Uninstall OpenClaw: Complete Removal Guide

return to top