Skip to content
Merged
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
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,19 @@ macOS and Linux:
curl -fsSL https://raw.githubusercontent.com/scriptscat/sctl/main/scripts/install.sh | sh
```

Homebrew:

```bash
brew install scriptscat/tap/sctl
```

Windows PowerShell:

```powershell
irm https://raw.githubusercontent.com/scriptscat/sctl/main/scripts/install.ps1 | iex
```

The installer verifies the release archive's sha256 and installs `sctl` into `~/.local/bin` (macOS/Linux) or
The install script verifies the release archive's sha256 and installs `sctl` into `~/.local/bin` (macOS/Linux) or
`%LOCALAPPDATA%\sctl\bin` (Windows). Pinning a version, manual downloads, and building from source are covered in
[`docs/mcp.md`](./docs/mcp.md#1-install-sctl).

Expand Down
6 changes: 6 additions & 0 deletions docs/README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ macOS 和 Linux:
curl -fsSL https://raw.githubusercontent.com/scriptscat/sctl/main/scripts/install.sh | sh
```

Homebrew:

```bash
brew install scriptscat/tap/sctl
```

Windows PowerShell:

```powershell
Expand Down
8 changes: 8 additions & 0 deletions docs/mcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ verifies its sha256 against `checksums.txt`, installs `sctl` into `~/.local/bin`
not on it — it never edits your shell profile or user PATH for you.
`SCTL_VERSION` pins a specific version; `SCTL_INSTALL_DIR` overrides the install directory.

With Homebrew, install from the [scriptscat/tap](https://github.com/scriptscat/homebrew-tap) tap instead; the
formula builds sctl from the release's source tarball and installs shell completions, and `brew upgrade sctl`
picks up new releases. Prereleases are not published to the tap.

```bash
brew install scriptscat/tap/sctl
```

To install manually instead, download the matching `sctl-<version>-<os>-<arch>.<ext>` archive from
[GitHub Releases](https://github.com/scriptscat/sctl/releases), extract it, and put the `sctl` executable on
`PATH`. If no published release is available, contributors can build sctl from source.
Expand Down
Loading