macOS
brew install aws-sam-clilocal Homebrew formula metadata
brew
CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM. Version 1.163.0 via Homebrew; verified 2026-07-03.
install
brew install aws-sam-clilocal Homebrew formula metadata
nix profile install nixpkgs#aws-sam-clinixpkgs package indexes · pkgs/by-name/aw/aws-sam-cli/package.nix · source: api.github.com
scoop install main/aws-sam-cliScoop official bucket manifest trees · bucket/aws-sam-cli.json · source: api.github.com
winget install --id Amazon.SAM-CLI -eWindows Package Manager source index · Amazon.SAM-CLI · source: cdn.winget.microsoft.com
overview
CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM
history
AWS SAM CLI is the command-line companion to the AWS Serverless Application Model, used to build, test, debug, package, and deploy serverless applications defined with SAM templates.
The repository's public history begins in August 2017 as AWS SAM Local CLI, with early tags starting at v0.1.0. The README describes AWS SAM as an open-source framework with shorthand syntax for functions, APIs, databases, and event source mappings, and identifies this repository as the SAM CLI source code.
Over time the CLI became the everyday developer entry point for SAM: local Lambda-like execution, Docker-backed testing, packaging, deployment, guided configuration, and command references live in AWS's Serverless Application Model developer guide.
SAM CLI adoption tracks the broader AWS serverless workflow. It gives local and CI users a packageable command named sam while the SAM template language remains CloudFormation-compatible infrastructure definition.
The supplied package facts list Homebrew, Nix, Scoop, and winget availability, which matches a cross-platform AWS developer tool: local laptops, CI runners, and onboarding scripts all need a stable installer story.
Typical commands include sam init, sam build, sam local invoke, sam local start-api, sam deploy, and guided configuration flows. The official docs describe a project-level SAM CLI configuration file for command parameter values.
The default config name is samconfig at the project root next to template.yaml, with TOML as the default format and YAML/YML also supported. AWS credentials are inherited from the standard AWS SDK/CLI credential chain, including shared credentials files.
For package maintainers, SAM CLI is a heavyweight Python/AWS developer tool whose release cadence matters because AWS service behavior, Lambda runtimes, and local emulation expectations move quickly. The executable is small from the user's point of view but represents a large AWS workflow surface.
security posture
No matching local secret-handling manifest was found for aws-sam-cli. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
samconfig.tomlsamconfig.yamlsamconfig.ymlCredential-bearing paths to review before unattended agent runs.
~/.aws/credentialsC:\Users\USERNAME\.aws\credentialsexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
sam | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://aws.amazon.com/serverless/sam/
install metadata
| Package key | brew:aws-sam-cli |
|---|---|
| Version | 1.163.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/aws-sam-cli |
| Homepage | https://aws.amazon.com/serverless/sam/ |
| Repository | https://github.com/aws/aws-sam-cli |
| Upstream docs | https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-command-reference.html |
| License | Apache-2.0 |
| Source archive | https://files.pythonhosted.org/packages/96/03/3b7776b890db3aebe4e3bbcd4ba9e573066bf1dbe730f1301f69a09aa53a/aws_sam_cli-1.163.0.tar.gz |
| Last updated | 2026-07-03T03:58:21Z |
| Pulse | updated |
| Dependencies | certifi, cryptography, libyaml, openssl@3, pydantic, python@3.14, rpds-py |
| Build dependencies | cmake, go, pkgconf |
| Uses from macOS | libffi |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | aws-sam-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
aws-sam-cli
nix profile install nixpkgs#aws-sam-climain/aws-sam-cli
scoop install main/aws-sam-cliAmazon.SAM-CLI
winget install --id Amazon.SAM-CLI -eextras/sam
scoop install extras/samsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.