Bast.sh/CLI

Bast.sh CLI

The official Bast.sh command-line tool for macOS, Linux, and Windows 11. It is published via Homebrew, Linux packages, WinGet, and the bast.sh install scripts. Agents should call bast --json rather than driving the TUI.

Install

Homebrew is the named package: ellipse-software/tap/bast. Linux packages install bast from packages.bast.sh. WinGet package id EllipseSoftware.Bast. The CLI is not published on npm or PyPI.

  • Homebrewbrew install ellipse-software/tap/bast
  • Linux packagescurl -fsSL https://packages.bast.sh/setup.sh | sudo sh
  • Installercurl -fsSL https://bast.sh/install | sh
  • Windows 11 PowerShellirm https://bast.sh/install.ps1 | iex
  • WinGetwinget install EllipseSoftware.Bast
$curl -fsSL https://bast.sh/install | sh

Latest release v0.9.3

Agent usage

Pair --json with explicit flags. Host edits are patches. Use --yes for deletes and key export. Install the skill with npx skills add ellipse-software/bast -g -y.

bast hosts list --json
bast keys list --json
bast --json hosts show production_web

Command reference: Command line. HTTP API for Vault lives at developer resources.

Install Bast

macOS, Linux, and Windows 11. Uses native OpenSSH, so your config and keys stay where they already are.

$curl -fsSL https://bast.sh/install | sh

Latest release v0.9.3