Install AWS CLI V2
$ curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
$ sudo installer -pkg AWSCLIV2.pkg -target /
Verify the installation
To verify that the shell can find and run the aws
command in your $PATH
, use the following commands.
$ which aws
/usr/local/bin/aws
$ aws --version
aws-cli/2.0.36 Python/3.7.4 Darwin/18.7.0 botocore/2.0.0