Skip to content

Quickstart

1. Install

Pick one:

Terminal window
# Homebrew (macOS)
brew install pipe2-ai/tap/pipe2
# Go
go install github.com/pipe2-ai/pipe2-cli/cmd/pipe2@latest

Or grab a release binary from github.com/pipe2-ai/pipe2-cli/releases. Source and issue tracker: github.com/pipe2-ai/pipe2-cli.

2. Mint a Personal Access Token

Head to pipe2.ai/api-keys and create a new key. It’s shown exactly once — copy it somewhere safe.

3. Save it

Terminal window
echo "$PAT" | pipe2 auth login --token -

The token is stored at $XDG_CONFIG_HOME/pipe2/config.json with mode 0600. You can also pass it per-call via --token or $PIPE2_TOKEN.

Confirm:

Terminal window
pipe2 auth whoami --json

That’s it — see the Command reference for everything else, or install the bundled Claude Code skill so an agent can drive the CLI for you.