AWS SAM CLI 的安装(macOS)

目录

SAM (Serverless Application Model) 是 AWS 提供的一个用于构建无服务器应用程序的开源框架。
这里安装其命令行工具,用来方便快速部署 AWS Serverless 项目。

以下内容参考自 macOS的安装

通过 Homebrew 安装:

brew tap aws/tap
brew install aws-sam-cli

验证是否安装成功:

sam --version

升级更新:

brew upgrade aws-sam-cli

卸载:

brew uninstall aws-sam-cli

更多参考内容:

AWS SAM Developer Guide

Learn how to create and test your serverless applications, and how to automate deployments

SAM CLI Command Reference

Review SAM CLI commands and learn how you can use them

Examples on GitHub

Find examples of API backends, IoT backends, stream processing applications, and more