If you need to install Aliyuncli on a device that can’t be connected to internet, please use the Aliyuncli installation package to install. Please firstly download the Aliyuncli installation package on a device that can be connected to internet according to the following instruction. In addition, the Aliyuncli installation package has integrated the SDKs of Alibaba Cloud products already, so you don’t need to separately install SDKs in this condition.
Notice: This installation method doesn’t support the auto-upgrade of Aliyuncli. When the new version of Aliyuncli is released, to upgrade your existing Aliyuncli, please uninstall the old version first, then download and install the new version.
Directly download the installation package of Aliyuncli for Windows at corresponding links. Please select a version suitable for your system.
Linux/UNIX & Mac OS: Download Now
Python is installed on your device already. If not, please download the installation package of Python 2.7.x on a device that is connected to internet and install Python to your device first. The official website of Python is https://www.python.org/downloads/.
Find the path of cli.tar.gz in the cmd window.
Run the following command to install Aliyuncli.
$ tar –zxvf cli.tar.gz
$ cd cli
$ sudo sh install.sh
If the following information is displayed, it indicates that Aliyuncli was successfully installed.
New aliyuncli version has been installed successfully!