Using the Elastic Beanstalk CLI

# Ubuntu / WSL Ubuntu
sudo apt install -y python python-pip

pip install awsebcli --upgrade --user

echo "export PATH=~/.local/bin:$PATH" >> ~/.bashrc
source ~/.bashrc

eb --version
EB CLI 3.15.0 (Python 2.7.1)