Skip to content

Instantly share code, notes, and snippets.

@DorkNstein
Last active August 2, 2021 22:31
Show Gist options
  • Save DorkNstein/f872a8cc63320409e05cc27e11dfedb7 to your computer and use it in GitHub Desktop.
Save DorkNstein/f872a8cc63320409e05cc27e11dfedb7 to your computer and use it in GitHub Desktop.
# OLD INSTALLATION PROCESS
# NOTE: USE NEW PROCESS BELOW IF IT FAILS
cd ~
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
cat ~/.aws/config
aws configure --profile "<profile name>"
# Set all Access keys and secret keys
# NEW PROCESS
# https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-mac.html#cliv2-mac-install-cmd
cd ~
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
sudo installer -pkg AWSCLIV2.pkg -target /
cat ~/.aws/config
aws configure --profile "<profile name>"
# Set all Access keys and secret keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment