Claude Platform CLI

Anthropic PBC·Anthropic.Ant

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

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.

winget install --id Anthropic.Ant --exact --source winget

Latest 1.21.0·July 24, 2026

Release Notes

1.21.0 (2026-07-24) Full Changelog: v1.20.0...v1.21.0 Features

  • api: add claude-opus-5 model (3e67b3d)
  • api: add tool addition/removal blocks and tool_change events (3e67b3d)
  • api: expand client-side fallback credit token types and add server-side fallbacks default option (3e67b3d) Bug Fixes
  • client: honor ANTHROPIC_BASE_URL in API requests (#43) (0dcaa4f) Chores
  • bump dependency (8358acd)
  • ci: cap macOS notarize timeout at 40m; add notary-status debug workflow (#42) (3aa7a80)

Installer type: zip

x86466E881B9CC29934868841809EA73FEE8160473EC3E7C4B51F0875C7A2ED2CF6
x64B4BD371742B32CC007A2FC24A67219C68F307E798F120BDB66AC0E19DF1954EE
arm64A1299104D45018AAA091C520D2E126BAC0A1BB39EC951A269766C154B6D9FDD1

Details

Homepage
https://github.com/anthropics/anthropic-cli
License
MIT
Copyright
Copyright 2026 Anthropic, PBC.

Tags

claude

Older versions (11)

1.20.0
x8636BDFC2F64A47F6D243112B964BC46E06226C3FBE558BDBBAE723ADFAB7FE260
x64DB1935FFAEC8C47D9F772A7E5426046AD5EA3B500DA83D3BF889DEAB71226427
arm64B5BF5BFF8A3299743383D0408811954C8D896579EFDFEDEA537B8D48E2335B3F
1.19.0
x8639DC6DD89A5C690CA7BD212483757A8B16CB38A04E253E5FD26E6F40C08BBB80
x6437E036D0B11ADD0A03E36EA4F20C00D2F883B8E1B35E99102983293E476EE8A4
arm64B62CA33A9B5261725FE1EF592577EF951AA7C6DCE2FD2B13768B539D3677B4CB
1.18.0
x86FFF2958F161F1EB30016B1565547EDF64AD3FA197591585B4411CA70EF598272
x6423B882AF85A9D12CB4295581D6F81775946190AE5CC2C8BA486A2E60B26685D0
arm64F7375FA863287A2BE6F225174448D18FF39CE210E5861273F9059E4546BD25C7
1.17.0
x8647FB9607FEB55D4AD68CCB562953BA38ABCBCEFC74AC6AFA87E72A13DFD7A669
x64AF52D1F36C7FC42E1B19B8892DA073D9D1DAB34D3801FE8DB237DE3D9A9F6623
arm64C05C8C397F3B825217BECCBF2FB5F87A463DC8E6F5813C6200F16082983C7D5A
1.16.0
x86AF1A9F07DA9C62961AAE63B5BA91632193211A1F652B77CE5798994A6123A83B
x64C26D8BFEFF0191419B04AC74C2383E5ECFE04B0D9796B10365C1C2CC494D693E
arm648A519C882129B618799E423FC86BC608C49E04AA0E2D08EFE8B87C17402C493D
1.15.0
x863ED838334EA0F2B1FDA4453D410BE2A379B972D4C53752762865AE136201034C
x64EA7E97F498DF01BBE128412F70029C26139DFE5F046D080B8BDC5698FF956FC4
arm64318BDDDF9C9805F3D095144E1A0DF40AF12A795EC295D4EDC1FBA33CC062E486
1.14.0
x8600458F7EF2A1AAE081FED607910B9E1B6BBEECF72EE4FBF525F1C8F9A6CA8F1B
x64453804BC74CEA95C1A9395E009047FA1B2A9EFD55B3CFB0E28B26F5720CA69D3
arm64CF2F5DB48B2B69CB9FE86A89E7A845913E00C5A1AD10A96B64C4D6E4E2D480A3
1.13.0
x86BC1104824CC59B7D5BAC362F5C1CD8A5E872904A4D65E55ACD4DF4F6F6342EC9
x64DF1673BE6773FE964C0DB55C44C85E88315396A20B356CB785629DE2A25C123A
arm64AD6B0D2B276B4FDCAB8764564CB6CFB8E5B7C0261BA7CD5786C88A74D5FA19A0
1.12.2
x866B4934C1A585F07D0F964E8F22127F8864D3DABF617956DD66B6534D8FA7B713
x6439B7651D55F8E1B37CFDA9957F226D9E34258F76345560385DA1014232765687
arm64F76D72EEE208733908C6A50653786826E7D8E6A8196E69B28A884D0519839668
1.12.1
x86BC3BE6AE2DEC16996ED9B4C2909881F6353CB2348E921DE3F848572C4C6FFCCC
x644E90FAAED80E3631C464A87FAF0D64E65E0372E189AF15C025E062DF06B5B860
arm641CCC9C732E0EAD37E3C67E73DB5EFFBC7D2A88F4E6B41459DB1146EE23EA0160
1.10.0
x863BC1930622E6A6CFC198CA8E42FA9F3C51599977EDD65FB072B1010AFEEB6093
x64BD73D0E17708C5A44936F5480310A7FC0848EB52CA31BEAC25ED67C1FBB9C996
arm64910DF523A66FC8AA64D0B8B6E5330682648EB5F5E80F6EF53C0951D2A7C89713