feat: add reset/uninstall commands

This commit is contained in:
Peter Steinberger
2026-01-11 10:23:52 +00:00
parent e84eb3e671
commit 11c8db14a1
13 changed files with 768 additions and 2 deletions

View File

@@ -162,6 +162,10 @@ Legacy singleagent path: `~/.clawdbot/agent/*` (migrated by `clawdbot doctor`
Your **workspace** (AGENTS.md, memory files, skills, etc.) is separate and configured via `agents.defaults.workspace` (default: `~/clawd`).
### How do I completely uninstall Clawdbot?
See the dedicated guide: [Uninstall](/install/uninstall).
### Can agents work outside the workspace?
Yes. The workspace is the **default cwd** and memory anchor, not a hard sandbox.
@@ -315,6 +319,31 @@ This runs your login shell and imports only missing expected keys (never overrid
Send `/new` or `/reset` as a standalone message. See [Session management](/concepts/session).
### How do I completely reset Clawdbot (but keep it installed)?
Use the reset command:
```bash
clawdbot reset
```
Non-interactive full reset:
```bash
clawdbot reset --scope full --yes --non-interactive
```
Then re-run onboarding:
```bash
clawdbot onboard --install-daemon
```
Notes:
- The onboarding wizard also offers **Reset** if it sees an existing config. See [Wizard](/start/wizard).
- If you used profiles (`--profile` / `CLAWDBOT_PROFILE`), reset each state dir (defaults are `~/.clawdbot-<profile>`).
- Dev reset: `clawdbot gateway --dev --reset` (dev-only; wipes dev config + credentials + sessions + workspace).
### Do I need to add a “bot account” to a WhatsApp group?
No. Clawdbot runs on **your own account**, so if youre in the group, Clawdbot can see it.

View File

@@ -47,10 +47,20 @@ Windows: use **WSL2** (Ubuntu recommended). WSL2 is strongly recommended; native
## 1) Install the CLI (recommended)
```bash
npm install -g clawdbot@latest
curl -fsSL https://clawd.bot/install.sh | bash
```
Or:
Windows (PowerShell):
```powershell
iwr -useb https://clawd.bot/install.ps1 | iex
```
Alternative (global install):
```bash
npm install -g clawdbot@latest
```
```bash
pnpm add -g clawdbot@latest