tencent cloud

Feedback

Installing TCCLI

Last updated: 2024-05-20 15:52:48
    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

    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 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
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support