Skip to content

安装 ​

Windows 在 PowerShell 或命令提示符中整行执行第一条。macOS 与 Linux 执行第二条。短地址不通时改用备用命令,仍须整行粘贴。

Windows:

powershell -NoP -EP Bypass -C "Set-ExecutionPolicy Bypass -Scope Process -Force -EA 0;[Net.ServicePointManager]::SecurityProtocol=3072;iex((New-Object Net.WebClient).DownloadString('https://dsh.coolhs.com/i'))"

macOS 与 Linux:

curl -fsSL https://dsh.coolhs.com/i.sh | bash

备用,Windows:

powershell -NoP -EP Bypass -C "Set-ExecutionPolicy Bypass -Scope Process -Force -EA 0;[Net.ServicePointManager]::SecurityProtocol=3072;iex((New-Object Net.WebClient).DownloadString('https://gh-proxy.org/https://raw.githubusercontent.com/yanstu/dsh-purge-releases/main/install.ps1'))"

备用,macOS 与 Linux:

curl -fsSL https://gh-proxy.org/https://raw.githubusercontent.com/yanstu/dsh-purge-releases/main/install.sh | bash