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.
- Homebrew
brew install ellipse-software/tap/bast - Linux packages
curl -fsSL https://packages.bast.sh/setup.sh | sudo sh - Installer
curl -fsSL https://bast.sh/install | sh - Windows 11 PowerShell
irm https://bast.sh/install.ps1 | iex - WinGet
winget install EllipseSoftware.Bast
curl -fsSL https://bast.sh/install | shLatest 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.