Skip to content

Instantly share code, notes, and snippets.

@singledigit
Last active May 31, 2024 15:09
Show Gist options
  • Save singledigit/5f00ef69393b3b6f5dbfcf6cfada345e to your computer and use it in GitHub Desktop.
Save singledigit/5f00ef69393b3b6f5dbfcf6cfada345e to your computer and use it in GitHub Desktop.
Install AWS SAM on Linux using the new Linux installer
curl -L https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip -o aws-sam-cli-linux-x86_64.zip
unzip aws-sam-cli-linux-x86_64.zip -d sam-installation
sudo ./sam-installation/install
where sam
sam --version
@jasonmimick-aws
Copy link

For stock Amazon Linux - there's no where command, but which works.

curl -L https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip -o aws-sam-cli-linux-x86_64.zip
unzip aws-sam-cli-linux-x86_64.zip -d sam-installation
sudo ./sam-installation/install
which sam
sam --version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment