Sazabi
CLI

Installation

Install the Sazabi CLI to manage your projects, query logs, and automate workflows from the command line.

The Sazabi CLI gives you full access to Sazabi from your terminal. Use it to create projects, query logs, manage API keys, and integrate Sazabi into your scripts and CI pipelines.

System requirements

  • Node.js 18+ or Bun 1.0+
  • macOS, Linux, or Windows (via WSL)

Installation

Install the CLI globally using npm:

npm install -g @sazabi/cli

Install the CLI globally using Bun:

bun install -g @sazabi/cli

Install via Homebrew on macOS or Linux:

brew install sazabi/tap/sazabi

Verifying installation

After installation, verify the CLI is working by checking the version:

sazabi --version

You should see output like:

@sazabi/cli/1.0.0

Shell completions

Enable tab completions for faster command entry. Run the appropriate command for your shell, then restart your terminal or source the configuration file.

sazabi completions bash >> ~/.bashrc
source ~/.bashrc
sazabi completions zsh >> ~/.zshrc
source ~/.zshrc

If completions are not working after sourcing your shell configuration, restart your terminal for the changes to take effect.

Updating the CLI

Update to the latest version using the same package manager you used for installation:

npm update -g @sazabi/cli
bun update -g @sazabi/cli
brew upgrade sazabi

Next steps