#How to reset openclaw

1 messages ยท Page 1 of 1 (latest)

thin tide
#

I found a good video tutorial, and i already goofed up my current workplace. How can i COMPLETELY reset as if my computrer have never seen openclaw so that i can follow this video from scratch?

fresh fableBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> โœ… Mark Solution

rapid nicheBOT
#

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.

thin tide
#

Could i still follow a tutorial with the CLI installed? What would change if i took it away?

rapid nicheBOT
#

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 openclaw command 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.
#

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. ๐Ÿฆ

thin tide
#

macOS

rapid nicheBOT
#

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.

Docs: https://docs.openclaw.ai/install/uninstall

thin tide
#

@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?

rapid nicheBOT
#

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

Docs: https://docs.openclaw.ai/install/uninstall

thin tide
#

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?

rapid nicheBOT
#

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
thin tide
#

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'

rapid nicheBOT
#

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:

thin tide
#

โ—‡ 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

rapid nicheBOT
#

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