The Alibaba Cloud CLI is a tool to manage and use Alibaba Cloud resources through a command line interface. It is written in Go and built on the top of Alibaba Cloud OpenAPI.
Installation Steps:
-
Open Terminal using Spotlight
search by pressing
<command+space>
.
Type terminal and hitEnter
key. -
Now, run
ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” < /dev/null 2> /dev/null -
Installaliyun-cli
using brew
brew installaliyun-cli
aliyun-cliis ready to use now!
Use Alibaba Cloud CLI
- The API requiring the
Action
parameter is the RPC style, while the API requiring thePathPattern
parameter is the RESTful style. - In general, the API style for a product is consistent.
- Each API only supports one style. If an incorrect calling method is used, another API may be called or an error
ApiNotFound
is returned.