Claude Platform CLI2.7.1

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

WindowsSystem ToolsOpen source

Verify your download

Select the file you downloaded to check it against the hash we published — the check runs in your browser, nothing is uploaded.

About

Send messages to Claude and manage agents, sessions, and uploaded files directly from a terminal with Anthropic PBC’s Claude Platform CLI, also called ant. Developers and operations teams can use it for interactive API exploration, repeatable scripts, and automation that would otherwise require manually constructed HTTP requests.

Each Claude API resource appears as a dedicated subcommand, with formatted output, response filtering, automatic pagination for list operations, and YAML or JSON file input. Typed flags and piped YAML can construct request bodies without hand-written JSON, while @path references insert file contents into string fields and the built-in --transform query extracts response fields without separate JSON utilities. Claude Code can invoke ant natively, making the command set useful inside coding workflows.

For Anthropic-managed Claude Models on Google Cloud, project, workspace, and location flags support a default global location, Google project defaults, and credentials discovered through Application Default Credentials, including GOOGLE_APPLICATION_CREDENTIALS; API keys, auth tokens, or named profiles can also be selected. On AWS, --aws-region and --aws-workspace-id, ANTHROPIC_AWS_WORKSPACE_ID, or an AWS API key route signed requests through the Claude Platform on AWS gateway, with region fallback from AWS_REGION to AWS_DEFAULT_REGION and credentials from the AWS default chain.

The open-source CLI runs on x64 Windows 10 or later and Windows Server 2016 or later, and local testing or installation requires Go 1.22 or newer; API access uses a Claude Console key or a key piped from a secret manager through standard input. Version 2.7.1 adds user_profile_id to External Keys and Workspaces and fixes requests so they honor ANTHROPIC_CUSTOM_HEADERS.

Requires Windows 10+ · Server 2016+ · Architecture: x64

What's new in v2.7.1

Chores - docs: say when a work heartbeat does not compare its value

Details

PlatformWindows
CategorySystem Tools
LicenseOpen source
PricingFree
Package IDAnthropic.Ant
AuthorAnthropic PBC
Latest versionv2.7.1
File typeZIP
Minimum OSWindows 10+ · Server 2016+
Architecturex64
File size13.6 MB
Published11/6/2026

SHA-256

Version history

VersionSizePublishedScan
v2.7.0
SHA-256
13.6 MB11/5/2026CleanDownload
v2.6.0
SHA-256
13.6 MB11/4/2026CleanDownload
v2.5.0
SHA-256
13.5 MB11/2/2026CleanDownload
v2.4.0
SHA-256
13.3 MB10/30/2026CleanDownload

Does this still work for you?

Works (0)Doesn't work (0)Sign in to vote

Badge for your website

Developers can show that Claude Platform CLI is available on MirrorNest. Copy the code below: the badge links to this page and updates itself.

Claude Platform CLI on MirrorNest
HTML
<a href="https://mirrornest.com/software/ant-26bd3dc0"><img src="https://mirrornest.com/badge/ant-26bd3dc0.svg" alt="Claude Platform CLI on MirrorNest" height="20"></a>
Markdown
[![Claude Platform CLI on MirrorNest](https://mirrornest.com/badge/ant-26bd3dc0.svg)](https://mirrornest.com/software/ant-26bd3dc0)

Reviews

No reviews yet — be the first.

Leave a review

Sign in to post as a verified member instead of anonymously.

Claude Platform CLI alternatives