How to uninstall OpenClaw (formerly Moltbot or Clawdbot) safely on your computer step by step

Let’s tell you how to securely delete OpenClawformerly known as Moltbot or Clawdbot. This is a AI agentwhich can control your computer entirely, and which you can then control through apps like WhatsApp or Telegram.

But there are quite a few dangers of OpenClawso just as we teach you how to install it If you want to poke around, now we will tell you how to uninstall it. As with installation, uninstallation requires a series of commands in the terminal from your computer, be it PowerShell in Windows or the terminal in macOS and GNU/Linux.

1. Use the official uninstall command

The first step is to open your computer terminal and paste the following command*. When you do this, it will delete the local database, workspace, and installation files.

openclaw uninstall –all –yes

In the command, you have to use the name with which you installed the agentwhich can be openclaw, clawdbot or moltbot. In the first few weeks of this AI, the name has changed several times. It is possible that when finished you will see a message telling you that CLI is still installed. This is normal, and is something we will fix in the third step.

2. Manual cleaning

If you use Windowspress Win+R and write services.msc. Within the screen where you go, look for the ClawdBot, MoltBot or OpenClaw service, right click and choose the option to stop it.

Now, you have to open file explorer and delete these folders if they exist. The folder that should appear will depend on the name with which you installed the tool.

C:\Users\\.clawdbot

C:\Users\\.molbot

C:\Users\\.openclaw

If you use macOSenter the terminal and type one of the following commands, depending on the name with which you installed them.

rm -rf ~/.clawdbot

rm -rf ~/.moltbot

rm -rf ~/.openclaw

Then, you have to type one of these commands to prevent Clawdbot from starting every time you turn on your computer.

rm -rf ~/Library/LaunchAgents/com.clawdbot

rm -rf ~/Library/LaunchAgents/com.moltbot

rm -rf ~/Library/LaunchAgents/com.openclaw

3. Remove the CLI tool

You have already deleted your data, but the tool and its commands still exist in your terminal, since you installed them through NPM or HomeBrew. So, now you will have to uninstall it.

If you have installed the tool through NPMwhich is the most common, use one of these commands, depending on the name you installed the tool with:

npm uninstall -g clawdbot

npm uninstall -g openclaw

npm uninstall -g moltbot

If you are a Mac useryou may have installed it through Homebrew. In this case, if the commands above do not work for you, you can try these:

brew uninstall clawdbot

brew uninstall openclaw

brew uninstall moltbot

If none of the commands above work for youthere is another more manual method if you don’t remember how they were installed. They are these commands:

sudo rm -f /usr/local/bin/clawdbot

sudo rm -f /usr/local/bin/openclaw

sudo rm -f /opt/homebrew/bin/clawdbot

4. Additional security cleaning

Ok, we have already removed the agent from our computer, but still has access to things like your email, your calendar, or your cloud accounts if you gave it to them when you installed it. Now it will be time to clean these permissions.

To do this, you have to review the API keys you have collectedsuch as GitHub, Google Cloud, AWS, etc. Review and revoke or regenerate any API you gave to the bot.

You also have to disconnect applications where you have linked it, such as your Google or Microsoft accounts, to revoke access to OpenClaw. Finally, log out of the agent web tool to ensure that you have stopped using it completely.

5. One last check

Once you have done all this, restart the computer and open the terminal to write the following code: clawdbot –version

If the response message is that it has not found the command or does not recognize it, it is because that’s it, you are done with the uninstallation.

In Xataka Basics | The best prompts to save hours of work and do your tasks with ChatGPT, Gemini, Copilot or other artificial intelligence

Leave your vote

Leave a Comment

GIPHY App Key not set. Please check settings

Log In

Forgot password?

Forgot password?

Enter your account data and we will send you a link to reset your password.

Your password reset link appears to be invalid or expired.

Log in

Privacy Policy

Add to Collection

No Collections

Here you'll find all collections you've created before.