openclaw/docs/install
Jason e74931778c
fix: preserve workspaces during state-only uninstall
Preserve workspace directories when `openclaw uninstall --state` removes local state, including configured workspaces and implicit per-agent workspaces resolved by the runtime. State-only uninstall now uses a cleanup plan that keeps those workspace roots unless `--workspace` is selected.

Fixes #75052.

Proof:
- `git diff --check origin/main...HEAD`
- `pnpm exec oxfmt --check --threads=1 src/commands/cleanup-utils.ts src/commands/cleanup-utils.test.ts src/commands/uninstall.ts src/commands/uninstall.test.ts docs/cli/uninstall.md docs/install/uninstall.md`
- `node scripts/run-vitest.mjs src/commands/uninstall.test.ts src/commands/cleanup-utils.test.ts src/commands/reset.test.ts src/commands/agents.delete.test.ts`
- `node scripts/run-tsgo.mjs -p test/tsconfig/tsconfig.core.test.json --incremental --tsBuildInfoFile /tmp/openclaw-pr75061-core-test-final-rebase2.tsbuildinfo`
- `pnpm docs:list`
- `node scripts/check-docs-mdx.mjs docs/cli/uninstall.md docs/install/uninstall.md`
- `.agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main`
- CI: https://github.com/openclaw/openclaw/actions/runs/26721260691

Co-authored-by: Jason-Bai <boybai.work@gmail.com>
2026-05-31 19:54:34 +01:00
..
ansible.md build: update pi dependencies to 0.75.1 2026-05-18 06:22:36 +01:00
azure.md docs: drop in-body H1s and tighten heading hygiene across 4 pages 2026-05-05 17:46:14 -07:00
bun.md docs: clarify OpenAI HTTP client guidance 2026-05-22 18:00:53 +01:00
clawdock.md Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
development-channels.md fix(updater): exclude prerelease tags from stable git channel (#86559) 2026-05-26 21:11:38 +01:00
digitalocean.md Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
docker-vm-runtime.md Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
docker.md Move cron persistence to SQLite (#88285) 2026-05-30 21:03:41 +01:00
exe-dev.md Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
fly.md docs: absorb documentation PR sweep 2026-05-23 10:23:34 +01:00
gcp.md Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
hetzner.md Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
hostinger.md
index.md docs: expand install deployment cards 2026-05-27 11:54:12 -05:00
installer.md fix(install): skip Homebrew until macOS packages need it 2026-05-27 09:48:04 +01:00
kubernetes.md docs: drop in-body H1s and tighten heading hygiene across 4 pages 2026-05-05 17:46:14 -07:00
macos-vm.md docs: absorb documentation PR sweep 2026-05-23 10:23:34 +01:00
migrating-claude.md fix(docs): make docs formatter mintlify-safe 2026-04-28 08:13:21 +01:00
migrating-hermes.md refactor: unify OpenAI provider identity (#88451) 2026-05-31 00:29:44 +01:00
migrating.md Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
nix.md config: stop automatic writes and guard Nix mutators (#78047) 2026-05-06 14:43:32 +02:00
node.md build: update pi dependencies to 0.75.1 2026-05-18 06:22:36 +01:00
northflank.mdx Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
oracle.md Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
podman.md docs: clarify container model auth 2026-05-27 19:04:04 +01:00
railway.mdx Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
raspberry-pi.md fix(gateway): keep unmanaged restarts in-process (#83138) 2026-05-17 21:19:05 +00:00
render.mdx
uninstall.md fix: preserve workspaces during state-only uninstall 2026-05-31 19:54:34 +01:00
updating.md fix(update): prepack npm git update specs 2026-05-22 22:58:16 +01:00
upstash.md docs: absorb maintainer docs sweep 2026-05-22 20:29:10 +01:00