The UCloud Command Line Interface is a tool to manage your UCloud services. It's built on the UCloud API.
You can install UCloud CLI by downloading executable binary file or building from the source code by yourself.
Archive links: Mac Linux Windows
Download the binary file and extract to /usr/local/bin directory or add it to the $PATH
$ curl -o ucloud-cli.tgz http://ucloud-sdk.ufile.ucloud.com.cn/ucloud-cli-<yourOS>-0.1.1-amd64.tgz
$ tar -zxf ucloud-cli.tgz -C /usr/local/bin
or
$ tar -zxf ucloud-cli.tgz
$ cp ucloud /usr/local/bin
If you have installed golang, run the following commands to install the UCloud CLI.
$ mkdir -p $GOPATH/src/github.com/ucloud
$ cd $GOPATH/src/github.com/ucloud
$ git clone http://github.com/ucloud/ucloud-cli.git
$ cd ucloud-cli
$ make install
After install the cli, run 'ucloud config' to complete the cli configuration following the tips.