Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gjerokrsteski/a1722a84b5599e0f09ba358897cf5c85 to your computer and use it in GitHub Desktop.
Save gjerokrsteski/a1722a84b5599e0f09ba358897cf5c85 to your computer and use it in GitHub Desktop.
install aws cli and sam using python
#!/usr/bin/env bash
set -eo pipefail
which python
pip --version
sudo pip install setuptools
sudo pip install wheel
sudo pip install awscli --upgrade
aws --version
pip install --user aws-sam-cli
USER_BASE_PATH=$(python -m site --user-base)
export PATH=$PATH:$USER_BASE_PATH/bin
sam --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment