Agent-first command-line control for Alibaba Cloud elastic computing resources.
Documentation: English | 简体中文
ecctl gives agents and operators a consistent product/resource/action grammar,
JSON-first output, machine-readable schemas, waiters, and spec-driven cloud
behavior.
Installation
Install the latest public release with Homebrew:
brew tap aliyun/ecctl https://github.com/aliyun/elastic-compute-control-cli
brew install ecctl
ecctl --version
The first command uses this repository directly as the aliyun/ecctl Tap. Pre-built
binaries for macOS, Linux, and Windows are also available from
GitHub Releases.
Check for or install a newer release with ecctl update --check and
ecctl update. The command supports both direct binary and Homebrew
installations.
Or install with Go 1.25 or later:
go install github.com/aliyun/elastic-compute-control-cli/cmd/ecctl@latest
See the installation guide for requirements and other installation options.
Usage
Inspect the command surface before running cloud operations:
ecctl schema --list
ecctl schema --list ecs
ecctl schema ecs.instance.create --brief
Run resource commands with the regular product/resource/action shape:
ecctl vpc list
ecctl ecs instance list --filter status=Running
Learn more in the Quick Start, Concepts, Command Discovery, and Resource Coverage guides.
Contributing
Start with the resource spec guide.