This document describes how to install Tencent Cloud Command Line Interface (TCCLI).
Prerequisites
You have installed the Python environment and pip tool.
Note:
TCCLI depends on the TencentCloudApi Python SDK. If the version of the SDK is earlier than that of TCCLI, the SDK is automatically upgraded during TCCLI installation. Check the latest TCCLI version at GitHub. Directions
You can install TCCLI in the following ways:
1. The installation command is the same on Windows, macOS, and Linux. Open the command line window on your operating system.
2. Run the following command to install TCCLI:
sudo pip install tccli-intl-en
Note:
If you upgrade TCCLI from a version earlier than 3.0.252.3, run the following commands:
sudo pip uninstall tccli-intl-en jmespath
sudo pip install tccli-intl-en
3. After the installation is completed, run the following command to check whether the installation is successful:
Run the following commands in sequence to download the TCCLI project from tencentcloud-cli and to install TCCLI by using the setup.py
script. git clone https://github.com/TencentCloud/tencentcloud-cli-intl-en.git
cd tencentcloud-cli-intl-en
Was this page helpful?