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 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.
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.
Find the path of
cli.tar.gzin 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.