跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://docs.openclaw.ai/llms.txt

Use this file to discover all available pages before exploring further.

openclaw reset

重置本地配置/状态(保留 CLI 已安装)。 选项:
  • --scope <scope>configconfig+creds+sessionsfull
  • --yes:跳过确认提示
  • --non-interactive:禁用提示;需要同时设置 --scope--yes
  • --dry-run:打印操作内容而不删除文件
示例:
openclaw backup create
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
说明:
  • 如果你想在删除本地状态前保留一个可恢复的快照,请先运行 openclaw backup create
  • 如果你省略 --scopeopenclaw reset 会使用交互式提示来选择要删除的内容。
  • --non-interactive 仅在同时设置 --scope--yes 时有效。

相关内容