dsh-purge安装
只有 pnpm(没有 dsh 也行):进正在用的那个 profile,不要在仓库根执行。
cd "$DSH_HOME/profiles/web" # 桌面改 profiles/desktop
pnpm add https://codeload.github.com/HunYiSage/dsh-purge/tar.gz/refs/heads/masterpnpm 11/12 默认拦安装脚本(ERR_PNPM_IGNORED_BUILDS),要带上允许构建:
pnpm approve-builds dsh-purge@https://codeload.github.com/HunYiSage/dsh-purge/tar.gz/refs/heads/master