Updated on 2025-05-21 GMT+08:00

Installation of the qt CLI

If you intend to install the qt CLI on a parent instance using Linux images other than Huawei Cloud EulerOS, compile and install it in the Huawei Cloud QingTian open-source repository. If you intend to install the qt CLI on a parent instance using the Huawei Cloud EulerOS image, run the following command:

yum install qingtian-tool

The RPM package contains the following parts:

qt-enclave-env: supports resource isolation. Before the QingTian Enclave instances are created, the vCPUs and memory of a parent instance need to be allocated to QingTian Enclave instances to build an isolated, secure runtime environment.

qt CLI: a QingTian command line tool. You can use qt CLI to build QingTian Enclave image files required for launching the QingTian Enclave instances and manage the lifecycle of the instances.

Before using qt CLI, you need to install Python 3 and run the following command to install the required python modules docker and knack:

pip3 install docker knack