Note: If you don't have pip3 on your Mac, see Install Python 3 on Mac.
1. Install AWS CLI
pip3 install awscli --upgrade --user
If you are curious about the --upgrade
and --user
options, see the official explanation.
Now you can use AWS CLI command.
aws --version
2. Configure your AWS CLI
Make an IAM user on AWS Management Console and set its credentials with the following command. (Usually the config files are generated in ~/.aws
directory.)
aws configure
Now you can see the list of your S3 buckets (if you have some).
aws s3 ls