Install Python, pip, and the EB CLI on Windows - AWS Elastic Beanstalk

Install Python, pip, and the EB CLI on Windows

The Python Software Foundation provides installers for Windows that include pip.

To install Python and pip (Windows)
  1. Download the latest Python Windows x86-64 executable installer from the downloads page of

  2. Run the Python installer executable that you downloaded in the prior step.

    Select the following options from the Python installer window to set up for the EB CLI installation steps that follow.

    1. Choose to add the Python executable to your path.

    2. Choose Install Now.


    For more information about the installation options, see the Using Python on Windows page on the Python website.

    The documentation website provides a dropdown at the top of the page where you can select the version of Python for the documentation.

The installer installs Python in your user folder and adds its executable directories to your user path.

To install the AWS CLI with pip (Windows)
  1. From the Start menu, open a Command Prompt window.

  2. Verify that Python and pip are both installed correctly by using the following commands.

    C:\Users\myname> python --version Python 3.11.4 C:\Users\myname> pip --version pip 23.1.2 from C:\Users\myname\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip (python 3.11)
  3. Install the EB CLI using pip.

    C:\Users\myname> pip install awsebcli --upgrade --user
  4. Add the following executable path to the Path environment variable in your Windows user account. The location might be different, depending on whether you install Python for one user or all users.


  5. Restart a new command shell for the new Path variable to take effect.

  6. Verify that the EB CLI is installed correctly.

    C:\Users\myname> eb --version EB CLI 3.14.8 (Python 3.11)

To upgrade to the latest version, run the installation command again.

C:\Users\myname> pip install awsebcli --upgrade --user