-
-
Save nmagee/0ce2cd44a1c4664783a68a903a4d6264 to your computer and use it in GitHub Desktop.
Installs the AWS CLI tools on Rivanna
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 | |
set -e | |
cd ~ | |
mkdir awsinstaller | |
cd awsinstaller | |
curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" | |
unzip awscli-bundle.zip | |
./awscli-bundle/install | |
cd ../ | |
rm -R awsinstaller | |
echo "export PATH=~/bin:$PATH" >> ~/.bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To run this file:
chmod 755 install-aws.sh
./install-aws.sh