Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions src/docs/gorse-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
14 changes: 10 additions & 4 deletions src/zh/docs/gorse-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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`。

## 认证

Expand Down