macOS
brew install aws-sam-clilocal Homebrew formula metadata
安装
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 · 来源: api.github.com
scoop install main/aws-sam-cliScoop official bucket manifest trees · bucket/aws-sam-cli.json · 来源: api.github.com
winget install --id Amazon.SAM-CLI -eWindows Package Manager source index · Amazon.SAM-CLI · 来源: cdn.winget.microsoft.com
概览
CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM
历史
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.
安全态势
没有找到 aws-sam-cli 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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\credentials可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
sam | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://aws.amazon.com/serverless/sam/
安装元数据
| 软件包键 | brew:aws-sam-cli |
|---|---|
| 版本 | 1.163.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/aws-sam-cli |
| 主页 | https://aws.amazon.com/serverless/sam/ |
| 仓库 | https://github.com/aws/aws-sam-cli |
| 上游文档 | https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-command-reference.html |
| 许可证 | Apache-2.0 |
| 源码归档 | https://files.pythonhosted.org/packages/96/03/3b7776b890db3aebe4e3bbcd4ba9e573066bf1dbe730f1301f69a09aa53a/aws_sam_cli-1.163.0.tar.gz |
| 最后更新 | 2026-07-03T03:58:21Z |
| Pulse | updated |
| 依赖 | certifi, cryptography, libyaml, openssl@3, pydantic, python@3.14, rpds-py |
| 构建依赖 | cmake, go, pkgconf |
| macOS 提供的库 | libffi |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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/sam来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.