General Process
This section uses Windows as an example to describe how to use Cloud Command Line Interface (Cloud CLI). The methods for using the CLI in Linux and macOS are similar.
The basic operations of Cloud CLI include installing the CLI, initializing configurations, and viewing and running cloud service operation commands.
Figure 1 shows the general process of using Cloud CLI.
Figure 1 General process

- Create an Identity and Access Management (IAM) user and grant them permissions. Then obtain an access key. For details, see Step 1: Make Preparations.
- To use Cloud CLI to call open APIs in API Explorer for managing and using cloud resources, download Cloud CLI for the corresponding OS version. For details, see Overview.
- Your identity information is obtained for authentication when you use Cloud CLI. If you are not using Cloud CLI in non-configuration mode, configure your authentication information. For details, see Step 3: (Optional) Initialize Configurations.
- Use Cloud CLI to manage and use your cloud service resources. For details, see Step 4: View and Run Cloud Service Operation Commands.
Parent topic: Getting Started