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

A new console design is available for this service. Although the procedures in this guide were written for the older version of the console, you will find many of the concepts and basic procedures in this guide still apply.

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 will be available. You can 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 will be prompted to specify an AWS region. Specify 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.