Skip to content

ecs-cli

Downloads the Amazon ECS CLI binary from the AWS S3 distribution URL for the current OS, copies it to $ZPFX/bin, and makes it available as the ecs-cli command.

Terminal window
zi pack for ecs-cli
zi pack"bgn" for ecs-cli

Available profiles: default, bgn.

  • Provides: ecs-cli binary in $ZPFX/bin (default) or as an sbin shim (bgn).
  • default profile ices: is-snippet, as"null", nocompile, lucid, mv"*ecs-cli* -> ecs-cli", atclone"chmod +x ecs-cli; cp -vf ecs-cli $ZPFX/bin", atpull"%atclone". Downloads the platform-appropriate binary from https://amazon-ecs-cli.s3.amazonaws.com/ecs-cli-${OSTYPE}-amd64-latest.
  • bgn profile ices: is-snippet, as"null", nocompile, lucid, sbin"*ecs-cli* -> ecs-cli", atpull"%atclone". Requires the bin-gem-node annex.
  • The download URL uses ${(M)OSTYPE#(linux|darwin)} to select the correct binary for Linux or macOS (amd64 only).
Terminal window
# Direct install to $ZPFX/bin
zi pack for ecs-cli
# bgn shim variant
zi pack"bgn" for ecs-cli
  • Only amd64 architecture is supported by the download URL; ARM systems are not covered.