×
☰ See All Chapters

How to install AWS EB CLI on Windows

The AWS Elastic Beanstalk Command Line Interface (EB CLI) is a command line client that you can use to create, configure, and manage Elastic Beanstalk environments. This CLI is an alternative for “aws elasticbeanstalk”.

Step 1: Install Python

The EB CLI is developed in Python and requires Python version 2.7, 3.4, or later.

  1. Download the Python 3.7 Windows x86-64 executable installer from the downloads page of Python.org. 

  2. Run the installer. 

  3. Choose Add python.exe to PATH. 

  4. Choose Install Now. 

how-to-install-aws-eb-cli-to-windows-0
 

After installation verify that Python and pip are both installed correctly by using the following commands.

python --version

pip --version

how-to-install-aws-eb-cli-to-windows-1
 

Step 2: Install EB CLI

Install the EB CLI using below pip command.

pip install awsebcli --upgrade –user

 

how-to-install-aws-eb-cli-to-windows-2
 
how-to-install-aws-eb-cli-to-windows-3
 

Add the executable path, %USERPROFILE%\AppData\roaming\Python\Python311\scripts, to your PATH environment variable. The location might be different, depending on whether you install Python for one user or all users.

 

how-to-install-aws-eb-cli-to-windows-4
 

Verify that the EB CLI is installed correctly.

how-to-install-aws-eb-cli-to-windows-5
 

All Chapters
Author