CLI

Installation

Install the abstr CLI and log in.

Install

macOS / Linux — install the latest prebuilt binary with one command:

curl -fsSL https://abstraction.dev/install.sh | sh

This installs abstr to /usr/local/bin (or ~/.local/bin if that isn't writable). Make sure the install directory is on your PATH, then check it works:

abstr --version

Windows — download abstr_windows_amd64.zip from the latest release, extract it, and put abstr.exe somewhere on your PATH.

With Go — if you'd rather build from source:

go install github.com/abstraction-dev/cli/cmd/abstr@latest

Log in

Run login once to connect the CLI to your account:

abstr login

This opens your browser to create an API key. Paste the key back into the terminal, pick a workspace, and you're set — both are saved to ~/.abstr.json.

Ask your first question

abstr "what does the billing service do?"

That's the happy path. Next, explore the full commands reference.

© Abstraction — documentation