aws-sam-cli

Install command:
brew install aws-sam-cli

CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM

https://aws.amazon.com/serverless/sam/

License: Apache-2.0

Development: Pull requests

Formula JSON API: /api/formula/aws-sam-cli.json

Formula code: aws-sam-cli.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 1.172.1
head ⚡️ HEAD

Revision: 2

Depends on:

aws-c-auth 1.1.0 C99 library implementation of AWS client-side authentication
aws-c-cal 1.0.0 AWS Crypto Abstraction Layer
aws-c-common 1.0.5 Core c99 package for AWS SDK for C
aws-c-event-stream 1.0.0 C99 implementation of the vnd.amazon.eventstream content-type
aws-c-http 1.3.0 C99 implementation of the HTTP/1.1 and HTTP/2 specifications
aws-c-io 1.1.2 Event driven framework for implementing application protocols
aws-c-mqtt 1.1.3 C99 implementation of the MQTT 3.1.1 specification
aws-c-s3 1.5.2 C99 library implementation for communicating with the S3 service
aws-checksums 1.0.1 Cross-Platform HW accelerated CRC32c and CRC32 with fallback
certifi 2026.10.23 Mozilla CA bundle for Python
cryptography 50.0.2 Cryptographic recipes and primitives for Python
libyaml 0.2.5 YAML Parser
pydantic 2.14.3 Data validation using Python type hints
python@3.15 3.15.2 Interpreted, interactive, object-oriented programming language
rpds-py 2026.9.1 Python bindings to Rust's persistent data structures

Depends on when building from source:

go 1.27.4 Open source programming language to build simple/reliable/efficient software
pkgconf 3.0.11 Package compiler and linker metadata toolkit

Binaries: sam

GitHub Packages downloads:

Last 30 days90,852
Downloads3,265,673
Analytics install events (30 days)7,853
Downloads / install events (30 days)11.6×

Source: GitHub Packages, fetched 2026-11-17T00:55:10Z. Analytics dates: 2026-10-18 to 2026-11-17. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs7,83815,76379,930
Installs (--HEAD)1530173
Installs on Request7,82915,73979,843
Installs on Request (--HEAD)1530173
Build Errors2