跟踪 DSH 官方版本并一键更新:读取 npm dist-tags 与 GitHub 更新说明,列出当前版本到目标版本之间每一个版本的更新点,给出分级风险清单(预发布、破坏性变更措辞、本机多份安装与 PATH 不一致、插件 dsh.engines.dsh 兼容性、备份与回滚可用性),再把安装交给分离助手——用 rename 原子备份当前安装、执行 npm、校验落地结果、用原命令重启,新版本起不来就自动回滚。
curl -fsSL https://www.dshhub.co/install.sh -o dshhub-install.sh && bash dshhub-install.shAlready have DSH? Skip the wizard and install the market directly:dsh plugin --profile web add dshhub-market
This plugin installs only from the plugin side.