卸载与清理
只删插件用 dsh plugin remove,不碰会话数据;彻底卸载 DeepSeek Harness 时,npx 装删 ~/.dsh,源码构建再清仓库与 pnpm 缓存,只影响你指定的 profile。
本分类讲解 DeepSeek Harness Plugin(DSH plugin)的卸载与清理:用 dsh plugin --profile web remove 卸插件、删 profile 目录清空整个工作区、按安装方式(npx / 源码构建)彻底卸载 DSH 本体。卸载前可用 dsh plugin --profile web why 查依赖,确认影响范围;默认数据目录 ~/.dsh 包含 profile 与全部会话,删除前想清楚。
DSH-Plugin 教程列表
DSH 卸载与清理常见问题
怎么卸载单个 DSH plugin?
运行 dsh plugin --profile web remove <包名>,命令会把参数转发给该 profile 的 pnpm 完成移除;重启 dsh web 后插件能力不再加载。卸载只影响你指定的 profile。
卸载 DSH plugin 会删除我的会话数据吗?
不会。会话记录在 ~/.dsh/sessions,卸载插件只改动 profile 的依赖声明,不动会话数据。
怎么彻底卸载 npx 安装的 DSH?
npx 不会留下全局安装,删除 ~/.dsh 数据目录即完成卸载;如需彻底清理可再执行 npm cache clean 清理缓存。
怎么卸载源码构建的 DeepSeek Harness?
删除克隆的 deepseek-harness 仓库,执行 pnpm store prune 清理 pnpm 缓存,再删除 ~/.dsh 数据目录即可。
误卸载了 DSH plugin 能恢复吗?
可以。每个插件的安装命令都记录在 dsh-plugin.org 的插件详情页,用 dsh plugin --profile web add 重新安装即可;配置与会话数据不受影响。