Last active
September 22, 2018 14:32
-
-
Save pahud/b748f726515d3b073b997d92b595b526 to your computer and use it in GitHub Desktop.
upgrade AWS CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cleanup() { | |
rm -rf awscli-bundle | |
rm -f awscli-bundle.zip | |
} | |
cleanup | |
rm -rf awscli-bundle* | |
curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" | |
unzip awscli-bundle.zip | |
sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws | |
cleanup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment