AWS CLI not working on Mac OSX Yosemite

I have successfully downloaded AWS CLI using PIP on Mac OSX Yosemite. I am running Python version 2.7.

I can see the AWS executable in /Library/Frameworks/Python.framework/Versions/2.7/bin


But when I try to run

aws help

in my terminal to check that the AWS CLI is running I get

-bash: aws: command not found

Does anyone know why this is not working?


source to share

1 answer


should be on your way. In your file ~/.profile

(create if needed) add a line like:

export PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:$PATH"


Open a new terminal window and it should work.



All Articles