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.


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:

      $ sudo curl -o /usr/local/bin/ecs-cli
    • For Linux systems:

      $ sudo curl -o /usr/local/bin/ecs-cli
  2. (Optional) Verify the downloaded binary with the MD5 sum provided.

  3. Apply execute permissions to the binary.

    $ sudo chmod +x /usr/local/bin/ecs-cli
  4. Verify that the CLI is working properly.

    $ ecs-cli --version
    ecs-cli version 0.4.1 (e27df48)

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