{"repo":"anthropics/anthropic-cli","free":true,"listed":false,"github":"https://github.com/anthropics/anthropic-cli","clone":"git clone https://github.com/anthropics/anthropic-cli.git","description":"The CLI for the Claude API","language":"Go","stars":618,"topics":["anthropic","api","claude","cli"],"license":"MIT","category":"cli-tools","readme_excerpt":"ant — Claude Platform CLI ant is the official CLI for the Claude Platform. It puts the Claude API in your terminal — send messages, manage agents and sessions, upload files, and script against every API endpoint. Documentation Full documentation is available at platform.claude.com/docs/en/api/sdks/cli . Installation Homebrew Go To install from source, you need Go version 1.22 or later. The binary is placed in $(go env GOPATH)/bin . If ant isn't found after installation, add that directory to your PATH : Getting started Log in with your Claude Console account: Or set the ANTHROPIC API KEY environment variable to an API key from the Claude Console. Then send your first message: Structured flags accept relaxed JSON or YAML, so unquoted keys are fine. Usage The CLI follows a resource-based command structure, with nested resources separated by colons: Run ant --help for the full list of resources, or append --help to any command to see its flags. Requirements macOS, Linux, or Windows. Contributing See CONTRIBUTING.md. License This project is licensed under the MIT License. See the LICENSE file for details.","default_branch":null,"files":null,"tree":[],"storefront":"/r/anthropics","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/anthropics/anthropic-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}