install

Update or Uninstall OpenClaw

Learn how to update OpenClaw to the latest version or completely remove it from your system. Step-by-step guide for all platforms.

5 min read
Updated 2026-02-03

Updating OpenClaw

Keeping OpenClaw updated ensures you have the latest features, bug fixes, and security patches.

Check Your Current Version

First, see what version you have installed:

bash

openclaw --version

Expected Result

openclaw/1.2.3 darwin-arm64 node-v22.x.x

Update to Latest Version

The update process is the same on all platforms:

bash

openclaw update

After updating, restart the gateway to apply changes:

bash

openclaw gateway restart

Verify the Update

bash

openclaw --version

You should see the new version number.

Check for Updates Regularly

We recommend checking for updates every few weeks. You can see the latest version at the official OpenClaw repository or npm registry.

Update Specific Version

If you need a specific version:

bash

npm install -g openclaw@1.2.3

Replace 1.2.3 with the version number you need.

Troubleshooting Updates

"Permission denied" during update

On macOS/Linux:

bash

sudo openclaw update

On Windows (run PowerShell as Administrator):

powershell

openclaw update

Update seems stuck

If the update appears to hang:

  1. Press Ctrl+C to cancel
  2. Clear the npm cache:
bash

npm cache clean --force

  1. Try updating again

Rollback to Previous Version

If an update causes problems:

bash

npm install -g openclaw@previous.version.number


Uninstalling OpenClaw

If you need to remove OpenClaw from your system, follow these steps.

Backup Your Data First

Before uninstalling, consider backing up your configuration if you might reinstall later. Your settings are stored in ~/.openclaw/.

Step 1: Stop OpenClaw Services

First, stop all running OpenClaw processes:

bash

openclaw gateway stop openclaw daemon stop

Step 2: Remove the Daemon (Background Service)

If you installed the background service:

On macOS:

bash

openclaw daemon uninstall

Or manually:

bash

launchctl unload ~/Library/LaunchAgents/com.openclaw.gateway.plist rm ~/Library/LaunchAgents/com.openclaw.gateway.plist

On Linux (systemd):

bash

openclaw daemon uninstall

Or manually:

bash

systemctl --user stop openclaw systemctl --user disable openclaw rm ~/.config/systemd/user/openclaw.service systemctl --user daemon-reload

On Windows:

powershell

openclaw daemon uninstall

Step 3: Uninstall the Package

bash

npm uninstall -g openclaw

Step 4: Remove Configuration Files (Optional)

Your settings and data are stored separately from the application. To remove them:

This Cannot Be Undone

Removing configuration files deletes all your settings, API keys, channel configurations, and conversation history. Make sure you have backups if needed.

On macOS/Linux:

bash

rm -rf ~/.openclaw

On Windows (PowerShell):

powershell

Remove-Item -Recurse -Force $env:USERPROFILE.openclaw

Step 5: Verify Removal

Confirm OpenClaw is uninstalled:

bash

openclaw --version

Expected Result

openclaw: command not found


Platform-Specific Cleanup

Windows (WSL2)

If you installed Node.js specifically for OpenClaw and no longer need it:

bash

Inside WSL2

sudo apt remove nodejs npm

macOS (Homebrew)

If you installed Node.js via Homebrew for OpenClaw:

bash

brew uninstall node@22

Docker

If you used the Docker installation:

bash

Stop the container

docker stop openclaw

Remove the container

docker rm openclaw

Remove the image

docker rmi openclaw:local

Remove volumes (optional - deletes all data)

docker volume rm openclaw_data


Cleaning Up Messaging Platforms

After uninstalling OpenClaw, you may want to clean up on your messaging platforms.

Telegram

Your bot still exists on Telegram. To delete it:

  1. Open Telegram
  2. Find @BotFather
  3. Send /deletebot
  4. Select your bot
  5. Confirm deletion

Discord

To remove your bot:

  1. Go to Discord Developer Portal
  2. Select your application
  3. Click "Delete App" (in General Information)
  4. Confirm deletion

Or just remove the bot from your server:

  1. Open Server Settings
  2. Go to Integrations
  3. Find your bot and click "Remove"

WhatsApp

The WhatsApp connection is session-based. After stopping OpenClaw:

  1. Open WhatsApp on your phone
  2. Go to Linked Devices
  3. Find the OpenClaw session
  4. Tap "Log Out"

Reinstalling OpenClaw

If you want to install OpenClaw again in the future:

  1. Follow the installation guide for your platform:

  2. If you backed up your configuration, restore it:

bash

Restore from backup

cp -r ~/openclaw-backup ~/.openclaw

  1. Run the setup wizard if starting fresh:
bash

openclaw onboard


What To Do Next

If you are leaving OpenClaw:

  • Consider providing feedback to the project
  • Your API keys with providers are still active (revoke them if not needed)

If you are troubleshooting:


Need Help?

If you run into problems not covered here, check our Troubleshooting guide or visit the official OpenClaw documentation.

Last updated: February 3, 2026 | Found an error? Contact us

Related Articles