Skip to content

Instantly share code, notes, and snippets.

@sd031
Forked from wongcyrus/install_sam_cli.sh
Created September 24, 2019 02:22
Show Gist options
  • Save sd031/61e8a733beac75f99eb8103c091d65ab to your computer and use it in GitHub Desktop.
Save sd031/61e8a733beac75f99eb8103c091d65ab to your computer and use it in GitHub Desktop.
Install AWS SAM CLI in Cloud9
sudo yum update -y
pip3 install awscli --upgrade --user
sudo ln -s /bin/touch /usr/bin/touch
yes | sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile
echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
brew upgrade
brew update
brew tap aws/tap
brew install aws-sam-cli
sam --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment