Lately I’ve been leaning toward using AWS Beanstalk instead of Heroku. I had some issues installing the cli, here’s how I got it working.

After downloading beanstalk, I exported the path of the directory containing the eb shell script.

I’m running Python 2.7 so this meant exporting this path:

export PATH=$PATH:/Users/Dru/Downloads/AWS-ElasticBeanstalk-CLI-2.3.1/eb/macosx/python2.7/

Your user will be different. The path depends where your downloads go. You must also consider the version of Python on your machine (run python).

Run the export command as a one-off or add it to your .zshrc or .bashrc file for automatic loading. You will need to open a new window to use the eb command.

Comments