File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33The UCloud Command Line Interface is a tool to manage your UCloud services. It's built on the [ UCloud API] ( https://docs.ucloud.cn/api/summary/index ) .
44
55
6- ### Install UCloud CLI:
6+ ### Install UCloud CLI
77
88You can install UCloud CLI by downloading executable binary file or building from the source code by yourself.
99
10- * Download binary file:
11- [ Mac] ( https://github.com/ucloud/ucloud-cli/releases/download/v0.1.1/ucloud-cli-darwin-amd64.tar.gz ) [ Linux] ( https://github.com/ucloud/ucloud-cli/releases/download/v0.1.1/ucloud-cli-linux-amd64.tar.gz )
12- [ Windows] ( https://github.com/ucloud/ucloud-cli/releases/download/v0.1.1/ucloud-cli-windows-amd64.exe.zip )
10+ ##### Download binary file
11+ Archive links:
12+ [ Mac] ( http://ucloud-sdk.ufile.ucloud.com.cn/ucloud-cli-macosx-0.1.1-amd64.tgz )
13+ [ Linux] ( http://ucloud-sdk.ufile.ucloud.com.cn/ucloud-cli-linux-0.1.1-amd64.tgz )
14+ [ Windows] ( http://ucloud-sdk.ufile.ucloud.com.cn/ucloud-cli-windows-0.1.1-amd64.zip )
1315
1416Download the binary file and extract to /usr/local/bin directory or add it to the $PATH
15-
16- * Build from source code
17+ ```
18+ $ curl -o ucloud-cli.tgz http://ucloud-sdk.ufile.ucloud.com.cn/ucloud-cli-<yourOS>-0.1.1-amd64.tgz
19+ $ tar -zxf ucloud-cli.tgz -C /usr/local/bin
20+ or
21+ $ tar -zxf ucloud-cli.tgz
22+ $ cp ucloud /usr/local/bin
23+ ```
24+ ##### Build from source code
1725
1826If you have installed golang, run the following commands to install the UCloud CLI.
1927
@@ -25,7 +33,7 @@ $ cd ucloud-cli
2533$ make install
2634```
2735
28- ###Config UCloud CLI
36+ ### Config UCloud CLI
2937
3038After install the cli, run 'ucloud config' to complete the cli configuration following the tips.
3139
You can’t perform that action at this time.
0 commit comments