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:

      $ sudo curl -o /usr/local/bin/ecs-cli https://s3.amazonaws.com/amazon-ecs-cli/ecs-cli-darwin-amd64-latest
    • For Linux systems:

      $ 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.

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

    $ ecs-cli --version
    ecs-cli version 0.3.0 (*6aa806b)

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