From 64a4bcae12a5ccd2f3a754d6aa0e39bf0bf228e4 Mon Sep 17 00:00:00 2001 From: zhenghaoz Date: Sat, 11 Jul 2026 11:41:54 +0800 Subject: [PATCH] docs: add PowerShell CLI installation --- src/docs/gorse-cli.md | 14 ++++++++++---- src/zh/docs/gorse-cli.md | 14 ++++++++++---- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/src/docs/gorse-cli.md b/src/docs/gorse-cli.md index a683547..4317289 100644 --- a/src/docs/gorse-cli.md +++ b/src/docs/gorse-cli.md @@ -10,20 +10,26 @@ icon: terminal ::: code-tabs#install -@tab:active Linux +@tab:active Linux/macOS ```bash curl -fsSL https://gorse.io/install.sh | sh ``` -@tab macOS +@tab Windows + +```powershell +irm https://gorse.io/install.ps1 | iex +``` + +@tab Homebrew ```bash brew tap gorse-io/tap brew install gorse-cli ``` -@tab Windows +@tab Scoop ```powershell scoop bucket add gorse https://github.com/gorse-io/scoop-bucket @@ -32,7 +38,7 @@ scoop install gorse-cli ::: -The install script supports Linux on AMD64, ARM64, and RISCV64, and macOS on ARM64. Windows installation uses [Scoop](https://scoop.sh/). The installed binary is named `gorse-cli`. +The Bash install script supports Linux on AMD64, ARM64, and RISCV64, and macOS on ARM64. The PowerShell install script supports Windows on AMD64 and ARM64. You can also install `gorse-cli` with [Homebrew](https://brew.sh/) or [Scoop](https://scoop.sh/). ## Authentication diff --git a/src/zh/docs/gorse-cli.md b/src/zh/docs/gorse-cli.md index 55c6680..6f85e7d 100644 --- a/src/zh/docs/gorse-cli.md +++ b/src/zh/docs/gorse-cli.md @@ -10,20 +10,26 @@ icon: terminal ::: code-tabs#install -@tab:active Linux +@tab:active Linux/macOS ```bash curl -fsSL https://gorse.io/install.sh | sh ``` -@tab macOS +@tab Windows + +```powershell +irm https://gorse.io/install.ps1 | iex +``` + +@tab Homebrew ```bash brew tap gorse-io/tap brew install gorse-cli ``` -@tab Windows +@tab Scoop ```powershell scoop bucket add gorse https://github.com/gorse-io/scoop-bucket @@ -32,7 +38,7 @@ scoop install gorse-cli ::: -安装脚本支持 AMD64、ARM64、RISCV64 架构的Linux,以及 ARM64 架构的 macOS。Windows 安装使用 [Scoop](https://scoop.sh/)。安装后的二进制名称为 `gorse-cli`。 +Bash 安装脚本支持 AMD64、ARM64、RISCV64 架构的 Linux,以及 ARM64 架构的 macOS。PowerShell 安装脚本支持 AMD64 和 ARM64 架构的 Windows。也可以使用 [Homebrew](https://brew.sh/) 或 [Scoop](https://scoop.sh/) 安装 `gorse-cli`。 ## 认证