Get started
Install the CLI
One small binary for macOS, Linux and Windows, written in Rust. With Homebrew, the install script, a download, or from source.
It ships as a single binary of about 8 MB to download, with nothing else to install.
Homebrew
On macOS or Linux:
brew install spendyard/tap/spendyard
brew upgrade spendyard updates it.
The install script
curl -fsSL https://spendyard.com/install.sh | bash
It downloads the latest release for your machine, checks it against the release’s checksums, and puts spendyard in ~/.local/bin. Two environment variables change that:
| Variable | |
|---|---|
SPENDYARD_VERSION |
A given release, such as v0.1.0, in place of the latest |
SPENDYARD_INSTALL_DIR |
Another folder to install into |
Windows
Download spendyard_windows_amd64.zip from the latest release, unzip it, and put spendyard.exe in a folder on your PATH.
From source
With a Rust toolchain:
git clone https://github.com/spendyard/spendyard
cd spendyard
cargo build --release
The binary is target/release/spendyard.
Check it
spendyard --version
spendyard config
spendyard config says where the config lives, which models are in effect and which API keys it found. Next, read your first receipt.