小龙虾OpenClaw教程2-windows如何干净卸载小龙虾

为啥卸载,因为公司要求。

一、先停止openclaw gateway service服务

复制代码
openclaw gateway stop // 停止服务

openclaw gateway status // 服务状态

二、卸载

使用官方卸载命令

复制代码
openclaw uninstall --all --yes --non-interactive

卸载后遇到类似提示

Stopped Scheduled Task: OpenClaw Gateway

Removed task script: C:\Users\Administrator.openclaw\gateway.cmd

Removed ~.openclaw

Failed to remove D:.openclaw\workspace: Error: EBUSY: resource busy or locked, rmdir 'D:.openclaw\workspace\content\zhihu'

CLI still installed. Remove via npm/pnpm if desired.

有进程在占用文件,找到进程停了就可以了。

如何找进程停止,

Windows 自带工具:

按 Win + R → 输入 resmon → 回车打开资源监视器

切换到 CPU 标签

在下方 关联的句柄(Associated Handles)搜索框中,输入关键字,关键字根据上面的提示信息,我就直接用了openclaw。找到后停止即可。

三、卸载CLI

可以看到这个提示

CLI still installed. Remove via npm/pnpm if desired.

使用npm安装的执行该命令即可

npm uninstall -g openclaw

如果你不是用的npm我想你应该知道怎么卸载。

pnpm 安装的

pnpm remove -g openclaw

bun 安装的

bun remove -g openclaw

相关推荐
飞飞的AI实验室4 小时前
深度解析:Claude Code 和 OpenClaw 底层架构的设计取舍
架构·ai编程·ai agent·claude code·openclaw
kishu_iOS&AI4 小时前
OpenClaw 管理 API Key / Token 的常见安全方案
安全·ai·策略模式·openclaw
HinsCoder6 小时前
【OpenClaw】——小龙虾极简接入Discord教程
ai·大模型·agent·discord·channel·openclaw·龙虾
Spaceack6 小时前
《养虾者说》
人工智能·openclaw
arvin_xiaoting8 小时前
从 0 到 1:搭建自学习 AI Agent 系统的完整工程指南
人工智能·学习·系统设计·ai agent·lancedb·自学习·openclaw
兮动人8 小时前
Linux 云服务器部署 OpenClaw 全攻略:从环境搭建到 QQ 机器人集成
linux·服务器·机器人·openclaw
toradexsh8 小时前
基于 NXP iMX8MP ARM平台安装测试 Openclaw
linux·docker·arm·nxp·openclaw
国产化创客9 小时前
OpenClaw Control UI安全上下文访问配置
ai·webui·openclaw
算.子10 小时前
使用OpenClaw飞书插件玩转飞书
ai·飞书·openclaw