1.停止OpenClaw
openclaw gateway stop
2.卸载 CLI 本体
npm rm -g openclaw
3.删掉本地配置和数据
Remove-Item -Recurse -Force "$env:USERPROFILE\.openclaw"
Ps:
OpenClaw 的主配置文件在 ~/.openclaw/openclaw.json
4.手动移除服务(可选)
Get-Service | findstr openclaw
sc.exe stop OpenClaw
sc.exe delete OpenClaw
5.确认删除成功(可选)
npm list -g --depth=0
Get-Service | findstr openclaw
Test-Path "$env:USERPROFILE.openclaw"
还想讲讲它的原理,以及一些有意思的用法!敬请期待!+_+