[AWS SAM] Install the AWS SAM CLI on macOS with Homebrew

Created on November 30, 2026

If you have Homebrew on your Mac, you can install the AWS SAM CLI using the aws-sam-cli formula from Homebrew Core.

brew install aws-sam-cli

Run the following command to check that sam is available and print its version.

sam --version

References

SAM CLI