refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
---
|
||||
summary: "Uninstall Clawdbot completely (CLI, service, state, workspace)"
|
||||
summary: "Uninstall Moltbot completely (CLI, service, state, workspace)"
|
||||
read_when:
|
||||
- You want to remove Clawdbot from a machine
|
||||
- You want to remove Moltbot from a machine
|
||||
- The gateway service is still running after uninstall
|
||||
---
|
||||
|
||||
# Uninstall
|
||||
|
||||
Two paths:
|
||||
- **Easy path** if `clawdbot` is still installed.
|
||||
- **Easy path** if `moltbot` is still installed.
|
||||
- **Manual service removal** if the CLI is gone but the service is still running.
|
||||
|
||||
## Easy path (CLI still installed)
|
||||
@@ -16,14 +16,14 @@ Two paths:
|
||||
Recommended: use the built-in uninstaller:
|
||||
|
||||
```bash
|
||||
clawdbot uninstall
|
||||
moltbot uninstall
|
||||
```
|
||||
|
||||
Non-interactive (automation / npx):
|
||||
|
||||
```bash
|
||||
clawdbot uninstall --all --yes --non-interactive
|
||||
npx -y clawdbot uninstall --all --yes --non-interactive
|
||||
moltbot uninstall --all --yes --non-interactive
|
||||
npx -y moltbot uninstall --all --yes --non-interactive
|
||||
```
|
||||
|
||||
Manual steps (same result):
|
||||
@@ -31,13 +31,13 @@ Manual steps (same result):
|
||||
1) Stop the gateway service:
|
||||
|
||||
```bash
|
||||
clawdbot gateway stop
|
||||
moltbot gateway stop
|
||||
```
|
||||
|
||||
2) Uninstall the gateway service (launchd/systemd/schtasks):
|
||||
|
||||
```bash
|
||||
clawdbot gateway uninstall
|
||||
moltbot gateway uninstall
|
||||
```
|
||||
|
||||
3) Delete state + config:
|
||||
@@ -57,15 +57,15 @@ rm -rf ~/clawd
|
||||
5) Remove the CLI install (pick the one you used):
|
||||
|
||||
```bash
|
||||
npm rm -g clawdbot
|
||||
pnpm remove -g clawdbot
|
||||
bun remove -g clawdbot
|
||||
npm rm -g moltbot
|
||||
pnpm remove -g moltbot
|
||||
bun remove -g moltbot
|
||||
```
|
||||
|
||||
6) If you installed the macOS app:
|
||||
|
||||
```bash
|
||||
rm -rf /Applications/Clawdbot.app
|
||||
rm -rf /Applications/Moltbot.app
|
||||
```
|
||||
|
||||
Notes:
|
||||
@@ -74,7 +74,7 @@ Notes:
|
||||
|
||||
## Manual service removal (CLI not installed)
|
||||
|
||||
Use this if the gateway service keeps running but `clawdbot` is missing.
|
||||
Use this if the gateway service keeps running but `moltbot` is missing.
|
||||
|
||||
### macOS (launchd)
|
||||
|
||||
@@ -89,21 +89,21 @@ If you used a profile, replace the label and plist name with `com.clawdbot.<prof
|
||||
|
||||
### Linux (systemd user unit)
|
||||
|
||||
Default unit name is `clawdbot-gateway.service` (or `clawdbot-gateway-<profile>.service`):
|
||||
Default unit name is `moltbot-gateway.service` (or `moltbot-gateway-<profile>.service`):
|
||||
|
||||
```bash
|
||||
systemctl --user disable --now clawdbot-gateway.service
|
||||
rm -f ~/.config/systemd/user/clawdbot-gateway.service
|
||||
systemctl --user disable --now moltbot-gateway.service
|
||||
rm -f ~/.config/systemd/user/moltbot-gateway.service
|
||||
systemctl --user daemon-reload
|
||||
```
|
||||
|
||||
### Windows (Scheduled Task)
|
||||
|
||||
Default task name is `Clawdbot Gateway` (or `Clawdbot Gateway (<profile>)`).
|
||||
Default task name is `Moltbot Gateway` (or `Moltbot Gateway (<profile>)`).
|
||||
The task script lives under your state dir.
|
||||
|
||||
```powershell
|
||||
schtasks /Delete /F /TN "Clawdbot Gateway"
|
||||
schtasks /Delete /F /TN "Moltbot Gateway"
|
||||
Remove-Item -Force "$env:USERPROFILE\.clawdbot\gateway.cmd"
|
||||
```
|
||||
|
||||
@@ -113,12 +113,12 @@ If you used a profile, delete the matching task name and `~\.clawdbot-<profile>\
|
||||
|
||||
### Normal install (install.sh / npm / pnpm / bun)
|
||||
|
||||
If you used `https://molt.bot/install.sh` or `install.ps1`, the CLI was installed with `npm install -g clawdbot@latest`.
|
||||
Remove it with `npm rm -g clawdbot` (or `pnpm remove -g` / `bun remove -g` if you installed that way).
|
||||
If you used `https://molt.bot/install.sh` or `install.ps1`, the CLI was installed with `npm install -g moltbot@latest`.
|
||||
Remove it with `npm rm -g moltbot` (or `pnpm remove -g` / `bun remove -g` if you installed that way).
|
||||
|
||||
### Source checkout (git clone)
|
||||
|
||||
If you run from a repo checkout (`git clone` + `clawdbot ...` / `bun run clawdbot ...`):
|
||||
If you run from a repo checkout (`git clone` + `moltbot ...` / `bun run moltbot ...`):
|
||||
|
||||
1) Uninstall the gateway service **before** deleting the repo (use the easy path above or manual service removal).
|
||||
2) Delete the repo directory.
|
||||
|
||||
Reference in New Issue
Block a user