All Products
Document Center

Install of Aliyuncli and SDK offline

Last Updated: Dec 19, 2017

If you want to install Aliyuncli on a device that cannot be connected to Internet, use the Aliyuncli installation package to install. Firstly, download the Aliyuncli installation package to a device that can be connected to Internet according to the following instruction. In addition, the Aliyuncli installation package has integrated with the SDKs of Alibaba Cloud products already, so you do not separately install SDKs in this condition.

Note: This installation method does not support the auto-upgrade of Aliyuncli. When the new version of Aliyuncli is released, to upgrade your existing Aliyuncli, you must uninstall the old version first, and then download and install the new version.

Download the Aliyuncli installation package

Download the installation package of Aliyuncli for Windows at corresponding links. Select a version suitable for your system.

For Linux/UNIX & Mac systems, click here to download now.

Install Aliyuncli


Make sure Python has been installed on your device already. If not, download the installation package of Python 2.7.x to a device that is connected to Internet and install. Click here to view the official website of Python.

  1. Find the path of cli.tar.gz in the cmd window.

  2. Run the following command to install Aliyuncli.

    1. $ tar zxvf cli.tar.gz
    2. $ cd cli
    3. $ sudo sh

    If the following information is displayed, it indicates that Aliyuncli was successfully installed:

    New Aliyuncli version has been installed successfully.