Windows安装OpenClaw

浏览器进入:

http://127.0.0.1:18789/

gateway的key需要配置

npm config set registry https://registry.npmmirror.com
npm install -g clawhub@latest
clawhub install sonoscli

启动和停止

openclaw gateway start
openclaw gateway stop

卸载:

# 查找并杀死 node/claw 相关进程
tasklist | findstr "node"
tasklist | findstr "claw"
# 替换为实际 PID,强制结束
taskkill /F /PID <进程PID>
# 强制释放占用端口
netstat -ano | findstr 18789 | findstr LISTENING | for /f "tokens=5" %a in ('findstr "LISTENING"') do taskkill /F /PID %a
netstat -ano | findstr 18791 | findstr LISTENING | for /f "tokens=5" %a in ('findstr "LISTENING"') do taskkill /F /PID %a
npm uninstall -g clawhub
npm uninstall -g openclaw
npm cache clean --force

C:\Users\<你的用户名>\.openclaw

直接删除整个 .openclaw 文件夹,包含所有配置、技能、缓存文件。

清除临时文件:

C:\Users\<你的用户名>\AppData\Local\Temp\openclaw
© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享