#Re Installing Clawdbot

1 messages ยท Page 1 of 1 (latest)

cyan cape
#

Is it possible to delete everything related to clawdbot and re installing it again? so yo can start from zero again deleteing it and re installing it?

agile pivotBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> โœ… Mark Solution

halcyon mesa
cyan cape
halcyon mesa
#

You aren't on linux/macos?

cyan cape
#

nope windows

halcyon mesa
#

Open cmd and run clawdbot / moltbot command please

restive hatchBOT
# cyan cape Is it possible to delete everything related to clawdbot and re installing it aga...

Yes, you can completely uninstall and reinstall Clawdbot! Here are the steps:

Quick uninstall (if CLI is still installed):

moltbot uninstall --all --yes --non-interactive

Manual uninstall steps:

  1. Stop the gateway: moltbot gateway stop
  2. Uninstall the service: moltbot gateway uninstall
  3. Delete state + config: rm -rf "${CLAWDBOT_STATE_DIR:-$HOME/.clawdbot}"
  4. Delete your workspace (optional): rm -rf ~/clawd
  5. Remove the CLI: npm rm -g moltbot (or pnpm remove -g moltbot / bun remove -g moltbot)

If the CLI is gone but service is still running, you'll need to manually remove the service:

  • macOS: launchctl bootout gui/$UID/bot.molt.gateway && rm -f ~/Library/LaunchAgents/bot.molt.gateway.plist
  • Linux: systemctl --user disable --now moltbot-gateway.service && rm -f ~/.config/systemd/user/moltbot-gateway.service
#

Got it โ€” Windows admin PowerShell/cmd it is! You should be all set with the commands above. Run them as Administrator and you should be clean and ready to reinstall. ๐Ÿฆ

restive hatchBOT
# cyan cape on cmd? or powershell and do i rn it as administrator?

Either cmd or PowerShell will work fine!

Run as Administrator โ€” yes, you'll need admin rights for:

  • Global npm uninstall (npm rm -g moltbot)
  • Removing the gateway service

Steps for Windows (admin PowerShell or cmd):

# 1. Uninstall everything
moltbot uninstall --all --yes --non-interactive

# 2. If that fails (CLI missing), remove service manually
schtasks /Delete /F /TN "Moltbot Gateway"
Remove-Item -Force "$env:USERPROFILE\.clawdbot\gateway.cmd"
cyan cape
#

ERROR: The system cannot find the file specified.
PS C:\WINDOWS\system32> moltbot gateway stop
moltbot : The term 'moltbot' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • moltbot gateway stop
  •   + CategoryInfo          : ObjectNotFound: (moltbot:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    

PS C:\WINDOWS\system32>

restive hatchBOT
#
# 3. Delete remaining folders
Remove-Item -Recurse -Force "$env:USERPROFILE\.clawdbot"
Remove-Item -Recurse -Force "$env:USERPROFILE\clawd"

# 4. Remove npm package
npm rm -g moltbot

# 5. Reinstall fresh
npm install -g clawdbot@latest
clawdbot onboard --install-daemon

The admin rights are mainly for step 1 and 5 (service installation). ๐Ÿฆ

cyan cape
#

Done, how do i still check if its on my computer or not?

halcyon mesa
#

Sorry I forgot