- Install AWS CLI using the OS X Bundled Installer.
python --version
- Now download the AWSCLI installer using the following command:
curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"
- Unzip the package
unzip awscli-bundle.zip
- Run the install executable and test the AWS CLI installation
sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws
- Configure AWS credentials
To configure the aws cosole
aws configure
Then enter the following information
AWS Access Key ID [None]: XXXXXXXXXXXXXXXXXXXX
AWS Secret Access Key [None]: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Default region name [None]: us-west-2
Default output format [None]: json