#Re Installing Clawdbot
1 messages ยท Page 1 of 1 (latest)
clawdbot uninstall to uninstall everything then run setup again
on cmd? or powershell and do i rn it as administrator?
You aren't on linux/macos?
nope windows
Open cmd and run clawdbot / moltbot command please
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:
- Stop the gateway:
moltbot gateway stop - Uninstall the service:
moltbot gateway uninstall - Delete state + config:
rm -rf "${CLAWDBOT_STATE_DIR:-$HOME/.clawdbot}" - Delete your workspace (optional):
rm -rf ~/clawd - Remove the CLI:
npm rm -g moltbot(orpnpm 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
- Windows:
schtasks /Delete /F /TN "Moltbot Gateway"
Then reinstall:
npm install -g clawdbot@latest
clawdbot onboard --install-daemon
Full docs: https://docs.molt.bot/install/uninstall ๐ฆ
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. ๐ฆ
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"
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>
# 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). ๐ฆ
Done, how do i still check if its on my computer or not?
Sorry I forgot