Installing aws eb cli on Mac OS

Use:

$ brew install awsebcli

as described in: Install the EB CLI on OS X

Homebrew is specifically for OSX and handles dependencies well.


  • If you are trying to install EB CLI for default python version on mac, you can simply use:

    $brew install awsebcli
    
  • If you are intending to install for python3, use pip3 to install and add export path to the bash profile as you mentioned. The path should be directed to the bin of python3 installed on your mac.

    Example:

    export PATH=~/Library/Python/3.7/bin:$PATH
    

For more details, refer: https://medium.com/@stevo.perisic/installing-python3-pip-and-aws-cli-on-macos-sierra-ca23ff8ad651