Install the EB CLI - AWS Elastic Beanstalk
AWS services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with AWS services in China.

Install the EB CLI

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. For more information about the EB CLI, see Using the Elastic Beanstalk command line interface (EB CLI).

Install the EB CLI using setup scripts

The easiest and recommended way to install the EB CLI is to use the EB CLI setup scripts available on GitHub. Use the scripts to install the EB CLI on Linux, macOS, or Windows. The scripts install the EB CLI and its dependencies, including Python and pip. The scripts also create a virtual environment for the EB CLI. For installation instructions, see the aws/aws-elastic-beanstalk-cli-setup repository on GitHub.