-Bash: Aws: Command Not Found
I'm on macOS Mojave Version 10.14.5. I Was Following the Instructions Here Installing the Aws Cli When I Got to the Part to Type Aws --Version in Terminal, and...
I'm on macOS Mojave Version 10.14.5.
I was following the instructions here
when I got to the part to type
aws --version
in terminal, and got the response
-bash: aws: command not found
Here's a screenshot of terminal
I looked at the other posts similar to this on stackoverflow, but they seem to apply to different contexts. They have not helped.
2 Answers
you need to install python and pip on your mac in order to install the awscli. After the installation of python and pip, please use following command to install aws cli with latest version from AWS.
sudo pip install awscli --force-reinstall --upgrade
Install python version 3 or higher And Use this command to download aws cli with python3
curl "" -o "awscli-bundle.zip"
unzip awscli-bundle.zip
sudo /usr/local/bin/python3 awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws