AWS CodeDeploy
User Guide (API Version 2014-10-06)

The procedures in this guide support the new console design. If you choose to use the older version of the console, you will find many of the concepts and basic procedures in this guide still apply. To access help in the new console, choose the information icon.

Step 2: Install or Upgrade and Then Configure the AWS CLI

To call AWS CodeDeploy commands from the AWS CLI on a local development machine, you must install the AWS CLI. AWS CodeDeploy commands first became available in version 1.6.1 of the AWS CLI. AWS CodeDeploy commands for working with on-premises instances became available in 1.7.19 of the AWS CLI.

If you have an older version of the AWS CLI installed, you must upgrade it so the AWS CodeDeploy commands are available. Call aws --version to check the version.

To install or upgrade the AWS CLI:

  1. Follow the instructions in Installing the AWS Command Line Interface to install or upgrade the AWS CLI.

  2. To configure the AWS CLI, see Configuring the AWS Command Line Interface and Managing Access Keys for IAM Users.


    When you configure the AWS CLI, you are prompted to specify an AWS Region. Choose one of the supported regions listed in Region and Endpoints in the AWS General Reference.

  3. To verify the installation or upgrade, call the following command from the AWS CLI:

    aws deploy help

    If successful, this command displays a list of available AWS CodeDeploy commands.