Claude Platform CLI
Last updated
Interact with the Claude API directly from your terminal with the ant command-line tool
Install with winget
$ winget install --id Anthropic.Ant --exact --version 1.32.0Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.
For Intune admins
Stop chasing app updates. Pckgr patches them for you.
Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.
Start free 30-day trialNo credit card required.
About
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-in --transform query (no separate JSON tooling required). List endpoints paginate automatically. Claude Code understands how to use ant natively.
Installers · v1.32.0
Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.
Security
No known CVEs for Claude Platform CLI.
Coverage is best-effort and depends on a winget package mapping to an NVD CPE entry. Absence here is not a guarantee of safety.
Related apps
More from Anthropic PBC or browse claude.
Frequently asked questions
How do I install Claude Platform CLI on Windows?
How do I install Claude Platform CLI silently for unattended deployment?
How do I uninstall Claude Platform CLI via winget?
Is Claude Platform CLI free?
Does Claude Platform CLI work on Windows 10?
How do I keep Claude Platform CLI up to date?
Recent versions
- 1.32.0latest
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.1
- 1.25.0
- 1.24.0
- 1.23.0