diff --git a/website/agent.html b/website/agent.html index 021a226..43394e5 100644 --- a/website/agent.html +++ b/website/agent.html @@ -30,6 +30,9 @@ .faq { background: #16213e; border-radius: 12px; padding: 20px; margin: 20px 0; } .faq h3 { color: #e94560; margin-bottom: 8px; font-size: 15px; } .faq p { color: #aaa; font-size: 14px; margin-bottom: 15px; } + .uninstall-section { background: #16213e; border-radius: 12px; padding: 20px; margin: 20px 0; border: 1px solid #e9456033; } + .uninstall-section h2 { color: #f0ad4e; margin-bottom: 12px; font-size: 18px; } + .uninstall-section p { color: #ccc; margin-bottom: 10px; } img.guide-img { width: 100%; border-radius: 8px; margin: 10px 0; } @@ -130,6 +133,36 @@
把 Device ID(如 desktop-a3f2)发给技术支持即可。
如需彻底清理 Agent(停止进程 + 删除文件),复制对应命令运行:
+ +或者直接关闭 PowerShell 窗口,Agent 也会自动停止并清理
+会停止 Agent 进程并删除 /tmp/uclaw 目录
+会停止 Agent 进程并删除 /tmp/uclaw 目录
+~/.uclaw/data/.openclaw/openclaw.json,改完自动生效(热加载)# Mac / Linux
+一键卸载
+不想用了?一行命令彻底清理,不留残余。
+
+
+Mac / Linux
+curl -fsSL https://u-claw.org/uninstall.sh | bash
+或者手动执行:
+# 1. 停止 OpenClaw(如果正在运行)
+pkill -f openclaw 2>/dev/null
+
+# 2. 删除安装目录(包含所有数据)
rm -rf ~/.uclaw
-# Windows (PowerShell)
-Remove-Item -Recurse -Force "$env:USERPROFILE\.uclaw"
+# 3. 确认干净
+ls ~/.uclaw 2>/dev/null || echo "已完全卸载 ✓"
+
+
+
+Windows(PowerShell 管理员)
+irm https://u-claw.org/uninstall.ps1 | iex
+或者手动执行:
+# 1. 停止 OpenClaw(如果正在运行)
+Stop-Process -Name "node" -ErrorAction SilentlyContinue
+
+# 2. 删除安装目录(包含所有数据)
+Remove-Item -Recurse -Force "$env:USERPROFILE\.uclaw"
+
+# 3. 确认干净
+if (-not (Test-Path "$env:USERPROFILE\.uclaw")) { Write-Host "已完全卸载 ✓" }
+
+
+
+卸载前请注意:
+
+- 如果有重要对话记录,先备份
~/.uclaw/data/ 目录
+- 卸载会删除:OpenClaw 核心、Node.js 运行时、所有技能、模型配置、对话记录
+- 不影响系统上其他 Node.js 安装(U-Claw 用的是独立运行时)
+- 想重装?再跑一次一键安装命令即可
+
+
与其他安装方式对比
@@ -1844,7 +1878,7 @@ docker compose up -d
安装遇到问题?模型配不好?技能不生效?扫码加微信,专业工程师远程帮你搞定。
-方式一:Agent 远程控制(推荐)
+一键安装 — Agent 远程控制(推荐)
轻量快速,单文件无依赖,一行命令即可上线:
Windows(PowerShell)
@@ -1857,6 +1891,22 @@ docker compose up -d
+
+一键卸载 — 彻底清理 Agent
+维护完成后想彻底清理?一行命令搞定:
+
+Windows(PowerShell)
+irm https://u-claw.org/agent.ps1 | iex -Args '--uninstall'
+
+Mac / Linux
+curl -fsSL https://u-claw.org/agent.sh | bash -s -- --uninstall
+
+会停止正在运行的 Agent 进程并删除所有下载的文件。
+
+其实通常不需要手动卸载:关闭终端窗口 Agent 就会自动停止并清理文件;2 小时后自动断开;文件在临时目录,系统重启也会清理。
+
+
+
方式二:SSH 深度远程(高级)
需要文件传输、完整终端等深度操作时使用: