Installing the AWS SAM CLI – AWS Serverless Application Model

Installing the AWS SAM CLI

Install the latest release of the AWS Serverless Application Model Command Line Interface (AWS SAM CLI) on supported
operating systems.

To learn how to manage a currently installed version of the AWS SAM CLI, including how to
upgrade, uninstall, or manage nightly builds, see Managing AWS SAM CLI versions.

Is this your first time installing the AWS SAM CLI?

Complete all prerequisites in the previous section before moving forward. This
includes:

  1. Signing up for an AWS account.

  2. Creating an administrative IAM user.

  3. Creating an access key ID and secret access key.

  4. Installing the AWS CLI.

  5. Configuring AWS credentials.

Installing the AWS SAM CLI

To install the AWS SAM CLI, follow the instructions for your operating system.

Troubleshooting

If you come across issues while installing the AWS SAM CLI, see Installation errors.

Next steps

To learn more about the AWS SAM CLI and to begin building your own serverless applications,
see the following:

  • Tutorial: Deploying a Hello World
    application – Step-by-step
    instructions to download, build, and deploy a basic serverless application.

  • The Complete AWS SAM
    Workshop – A workshop designed to teach you many of the major features
    that AWS SAM provides.

  • AWS SAM example
    applications and patterns – Sample applications and patterns from
    community authors that you can further experiment with.

Xổ số miền Bắc