This document describes how to install Tencent Cloud Command Line Interface (TCCLI).
You have installed the Python environment and pip tool.
- 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.
You can install TCCLI in the following ways:
sudo pip install tccli
If you upgrade TCCLI from a version earlier than 184.108.40.206, run the following commands:
sudo pip uninstall tccli jmespath sudo pip install tccli
Run the following commands in sequence to download the TCCLI project from tencentcloud-cli and to install TCCLI by using the
git clone https://github.com/TencentCloud/tencentcloud-cli.git
python setup.py install
This method applies only to macOS. You need to install Homebrew first. See the installation method at the Homebrew website.
Run the following commands in sequence:
brew tap tencentcloud/tccli
brew install tccli