← Package directory
Available on winget

Install Claude Platform CLI

Interact with the Claude API directly from your terminal with the ant command-line tool

Install with winget
winget install --id Anthropic.Ant
Upgrade
winget upgrade --id Anthropic.Ant
Uninstall
winget uninstall --id Anthropic.Ant

About Claude Platform CLI

The ant CLI provides access to the Claude API from your terminal. Every API resource is exposed as a subcommand, with output formatting, response filtering, and support for YAML or JSON file input that make it practical for both interactive exploration and automation. Compared to calling the API with curl, ant lets you build request bodies from typed flags or piped YAML rather than hand-written JSON, inline file contents into string fields with an @path reference, and extract fields from the response with a built-i...

What's new in 1.10.0

1.10.0 (2026-05-28) Full Changelog: https://github.com/anthropics/anthropic-cli/compare/v1.9.3...v1.10.0 Features - api: Add support for claude-opus-4-8, mid-conversation system blocks, and usage.output_tokens_details (1f9b079) Documentation - replace literal newlines (eddcf54)

Read release notes

Version history

Version Updated Notes
1.10.0 1.10.0 (2026-05-28) Full Changelog: https://github.com/anthropics/anthropic-cli/compare/v1.9.3...v1.10.0 Features - api: Add support for claude-opus-4-8, mid-conversation system blocks, and usage.output_tokens_details (1...