← Registry
CLI Official

Claude Platform CLI (ant)

Official Go-based CLI for the Claude Developer Platform / Claude API, distinct from the agentic Claude Code tool.

Install

go install github.com/anthropics/anthropic-cli/cmd/ant@latest
$

The ant CLI provides terminal access to the Claude API, exposing every API resource as a subcommand with output formatting, response filtering, and YAML or JSON file input. Compared to raw curl it builds request bodies from typed flags or piped YAML, inlines file contents with an @path reference, extracts fields with a built-in --transform query, and paginates list endpoints automatically. Authenticate with a browser-based OAuth flow via ant auth login, no API key required; Claude Code has native support for it. This is the developer-platform CLI, not the agentic Claude Code tool.