tencent cloud

Tencent Cloud Command Line Interface

Installing TCCLI

Unduh
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-11-26 14:23:40
Diterjemahkan & Diperiksa oleh AI
This document describes how to install Tencent Cloud Command Line Interface (TCCLI).

Prerequisites

You have installed the Python environment and pip tool.
Note:
Python 2.7 or later is required. For more information, visit the Python website and pip website.
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

Installing the Lightweight Edition

Note:
A lightweight version of TCCLI is now available. It offers the same features as the standard version with a significantly smaller installation size. Try it out today.
The lightweight version is currently in the grayscale release phase and can be installed only via pip.
Install TCCLI for new users
sudo pip install --pre tccli-intl-en
If you have installed the standard version and want to switch to the lightweight version, run the following command:
sudo pip install --upgrade --pre tccli-intl-en
To roll back from the lightweight version to the standard version, uninstall the lightweight version first and then reinstall the standard version.
sudo pip uninstall tccli-intl-en
sudo pip install tccli-intl-en
After the installation is completed, run the following command to verify the installation:
tccli --version

Installing the Standard Edition

You can install TCCLI in the following ways:
Using pip (recommended)
Using source code
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:
tccli --version
Run the following commands in sequence to download the TCCLI project from tencentcloud-cli-intl-en 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
python setup.py install


Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan