安装
用一行脚本安装 Stand——支持 macOS、Linux 和 Windows。
Stand 用终端里的一条命令即可安装,支持 macOS、Linux 和 Windows。脚本会自动解析最新版本、补装缺失的依赖、并为你配好 stand 命令。
最新版本 · 官网 manifest 权威源
系统要求
- macOS、Linux 或 Windows
- Java 21+——安装器会检测,缺失时提示你装一个 JDK(Temurin 21 或 OpenJDK 21+ 均可)
- macOS / Linux 需要
curl或wget;Windows 需要 PowerShell - 需要联网
安装
macOS / Linux
稳定版:
curl -fsSL https://mystand.space/install.sh | sh
Beta 版(预发布,提前体验新特性):
curl -fsSL https://mystand.space/install-beta.sh | sh
Windows(PowerShell)
稳定版:
irm https://mystand.space/install.ps1 | iex
Beta 版:
irm https://mystand.space/install-beta.ps1 | iex
若 PowerShell 拒绝运行 stand,报「因为在此系统上禁止运行脚本」/ PSSecurityException(UnauthorizedAccess),是执行策略拦住了本地脚本——见故障排查 → Windows:禁止运行脚本。
脚本会做什么
- 自动解析最新发布版本——无需手动选版本号
- 检测 JDK 21+,把 Stand 运行包(JAR)下载到
~/.stand/bin;Windows 上缺失 JDK 21 时会自动安装 - 安装 ripgrep(用于搜索,可选增强)
- 生成
stand命令,并把~/.stand/bin加入你的PATH - 在
~/.stand/stand.json创建默认配置
验证
运行帮助命令——安装成功会打印版本与用法:
stand --help
然后启动客户端:
stand start
Windows 上若 PowerShell 拒绝运行 stand(「因为在此系统上禁止运行脚本」),见故障排查 → Windows:禁止运行脚本。
选项
macOS / Linux 安装器还支持几个参数:
--beta—— 安装最新 Beta(预发布)版本而非稳定版--cn—— 强制走中国(镜像优先)下载路径;默认自动检测--global—— 强制走国际(上游优先)下载路径;默认自动检测
卸载
下载并运行 uninstall.sh(macOS / Linux)或 uninstall.ps1(Windows)。
最新发布
最新版本的权威源是官网 manifest——/updates/manifest.json(Beta 通道:/updates/manifest-beta.json),安装器解析的也是同一来源。