#How to reset openclaw
1 messages ยท Page 1 of 1 (latest)
Yep โ use the built-in reset/uninstall path instead of hand-deleting first.
First run:
openclaw --version
If you just want a fresh tutorial setup but keep the CLI installed, run:
openclaw onboard --reset --reset-scope full
That resets config, credentials, sessions, and workspace.
If you want the โthis computer has never seen OpenClawโ nuke:
openclaw backup create
openclaw uninstall --dry-run
openclaw uninstall --all --yes
Then remove the CLI depending on how you installed it:
npm rm -g openclaw
# or
pnpm remove -g openclaw
# or
bun remove -g openclaw
Then follow the video from the install step again.
Docs:
Tiny warning: --all removes local OpenClaw state/workspace/credentials, so donโt do it if thereโs anything you want to keep. ๐ฆ
Could i still follow a tutorial with the CLI installed? What would change if i took it away?
Yes โ you can absolutely follow the tutorial with the CLI still installed.
What changes if you keep it installed:
- You can skip the โinstall OpenClaw CLIโ step.
- Start from the fresh setup/onboarding step instead:
openclaw --version
openclaw onboard --reset --reset-scope full
That gives you a clean OpenClaw state/workspace while keeping the openclaw command available.
What changes if you remove the CLI too:
- The
openclawcommand disappears. - Youโll need to repeat the tutorialโs install step first.
- This is only useful if you specifically want to test the install process from zero, or if your CLI install itself is broken/outdated.
My recommendation: keep the CLI installed, run the full onboarding reset, then follow the tutorial from the first openclaw onboard / setup step. Less pain, same clean setup. ๐ฆ
Docs: https://docs.openclaw.ai/start/wizard and https://docs.openclaw.ai/install/uninstall
Good question โ the reset/uninstall steps do change a bit by OS.
If youโre the one resetting OpenClaw, please share:
openclaw --version
and which OS youโre on:
- macOS
- Windows / WSL
- Linux
Then we can give the exact clean-reset commands without guessing. ๐ฆ
macOS
For macOS, Iโd do one of these:
Clean slate but keep the CLI installed โ best if you want to follow the tutorial from onboarding:
openclaw --version
openclaw onboard --reset --reset-scope full
Full โcomputer never saw OpenClawโ reset โ removes service/state/workspace/app, then CLI separately:
openclaw --version
openclaw backup create
openclaw uninstall --dry-run
openclaw uninstall --all --yes
Then remove the CLI depending on how you installed it:
npm rm -g openclaw
or, if you used pnpm/bun:
pnpm remove -g openclaw
bun remove -g openclaw
Tiny caution: uninstall --all removes local OpenClaw config, credentials, sessions, workspace, and the macOS app if present. The backup create step is your safety net.
@rapid niche my ls .openclaw looks like this โ
agents completions devices extensions logs memory openclaw.json.bak.1 openclaw.json.bak.3 openclaw.json.last-good skills update-check.json
canvas delivery-queue exec-approvals.json identity media openclaw.json.bak openclaw.json.bak.2 openclaw.json.bak.4 qqbot tasks
What can i delete here?
If thatโs ~/.openclaw, then for a true clean slate you can delete/move the whole folder โ all those entries are OpenClaw state/cache/config/workspace-ish data.
Iโd avoid picking individual folders. Safer macOS flow:
openclaw backup create
openclaw gateway stop
openclaw gateway uninstall
mv ~/.openclaw ~/.openclaw-reset-backup-$(date +%Y%m%d-%H%M%S)
Then restart the tutorial from onboarding:
openclaw onboard
This keeps a backup instead of permanently deleting everything. If it all works, you can later remove the backup folder manually.
If you want the CLI-assisted version instead:
openclaw uninstall --dry-run
openclaw uninstall --all --yes
no thanks not interested, anyway @rapid niche , i ran these messages, should i do quick start or manual setup, or should i follow the video im watching?
Iโd choose Quick Start / CLI onboarding, not manual setup.
Since you already have the CLI installed, the main change is: skip the install step in the video and start at onboarding.
If you already moved/deleted ~/.openclaw, run:
openclaw --version
openclaw onboard --install-daemon
If you didnโt reset yet, run:
openclaw onboard --reset --reset-scope full --install-daemon
Use manual setup only if youโre doing something custom, like a weird provider setup, custom gateway config, or you specifically donโt want the normal macOS background service.
Videos can get stale fast, so if the video conflicts with docs, trust the docs:
https://docs.openclaw.ai/start/getting-started
https://docs.openclaw.ai/start/wizard
I got an error in onboarding:
โ OpenAI OAuth complete
โ
โ Model configured โโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Default model set to openai-codex/gpt-5.4 โ
โ โ
โ
โ Default model
โ openai-codex/gpt-5.4
Error: Cannot find module '@larksuiteoapi/node-sdk'
That error is not your OpenAI OAuth โ that part completed. Itโs a missing bundled plugin/runtime dependency for Feishu/Lark: @larksuiteoapi/node-sdk.
First, please run:
openclaw --version
Then try the repair path:
openclaw doctor --fix
openclaw onboard --install-daemon
If doctor --fix also errors, paste the output from:
openclaw --version
openclaw status --all
status --all redacts tokens, so itโs meant to be shareable.
Docs for this path: https://docs.openclaw.ai/cli/doctor and https://docs.openclaw.ai/start/wizard
โ OpenAI OAuth complete
โ
โ Model configured โโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Default model set to openai-codex/gpt-5.4 โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ
โ Default model
โ Keep current (openai-codex/gpt-5.4)
Error: Cannot find module '@larksuiteoapi/node-sdk'
Require stack:
- /Users/vince/.npm-global/lib/node_modules/openclaw/dist/extensions/feishu/client-yWGpoGkZ.js
(base) vince@Intelicons-Mac-mini ~ %
I already ran openclaw doctor and --install-daemon
That one looks like a bundled Feishu/Lark dependency staging issue, not your OpenAI setup. OAuth completed fine.
Plain openclaw doctor only checks; the repair flag matters. Try this exact sequence:
openclaw --version
openclaw update
openclaw doctor --fix
openclaw onboard --install-daemon
If youโre not using Feishu/Lark, also disable it before retrying:
openclaw config set channels.feishu.enabled false --strict-json
openclaw config set plugins.entries.feishu.enabled false --strict-json