mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-07 07:29:08 +08:00
Source-grounded rewrite of 529 published docs pages with per-unit information-loss verification: 1,713 factual corrections cited to src/**, generated surfaces regenerated, frontmatter titles preserved for i18n, release notes pages untouched. All docs gates green. Closes #100141
2.0 KiB
2.0 KiB
summary, read_when, title
| summary | read_when | title | ||
|---|---|---|---|---|
| CLI reference for `openclaw reset` (reset local state/config) |
|
Reset |
openclaw reset
Reset local config/state (keeps the CLI installed).
openclaw reset
openclaw reset --dry-run
openclaw reset --scope config --yes --non-interactive
openclaw reset --scope config+creds+sessions --yes --non-interactive
openclaw reset --scope full --yes --non-interactive
Options
--scope <scope>:config,config+creds+sessions, orfull--yes: skip confirmation prompts--non-interactive: disable prompts; requires--scopeand--yes--dry-run: print actions without removing files
Scopes
| Scope | Removes | Stops gateway first |
|---|---|---|
config |
config file only | no |
config+creds+sessions |
config file, OAuth/credentials dir, per-agent session directories | yes |
full |
state dir (including config/creds if nested inside it) plus workspace dirs and workspace attestations | yes |
config+creds+sessions and full stop a running managed gateway service before deleting state.
Notes
- Run
openclaw backup createfirst for a restorable snapshot before removing local state. - Without
--scope,openclaw resetprompts interactively for the scope to remove. --non-interactiveis only valid when both--scopeand--yesare set.config+creds+sessionsandfullprintNext: openclaw onboard --install-daemonwhen done.