Menu
Amazon EC2 Container Service
Developer Guide (API Version 2014-11-13)

Installing the Amazon ECS CLI

Follow these instructions to install the Amazon ECS CLI on your Mac OSX or Linux system.

Note

The Amazon ECS CLI is not available for Windows systems at this time.

To install the Amazon ECS CLI

  1. Download the binary.

    • For Mac OSX:

      Copy to clipboard
      $ sudo curl -o /usr/local/bin/ecs-cli https://s3.amazonaws.com/amazon-ecs-cli/ecs-cli-darwin-amd64-latest

    • For Linux systems:

      Copy to clipboard
      $ sudo curl -o /usr/local/bin/ecs-cli https://s3.amazonaws.com/amazon-ecs-cli/ecs-cli-linux-amd64-latest

  2. (Optional) Verify the downloaded binary with the MD5 sum provided.

  3. Apply execute permissions to the binary.

    Copy to clipboard
    $ sudo chmod +x /usr/local/bin/ecs-cli

  4. Verify that the CLI is working properly.

    Copy to clipboard
    $ ecs-cli --version ecs-cli version 0.4.1 (e27df48)

After you have installed the CLI, proceed to Configuring the Amazon ECS CLI.