Skip to main content

Universal Command Line Environment for alicloud

Project description

#AliCloud Command Line Interface

The AliCloud Command Line Interface is a unified tool to manage your AliCloud services. With just one tool to download and configure, you can control multiple AliCloud services from the command line and automate them through scripts.

If you got any problems, please send mail to us:


* Windows, Linux, OS X, or Unix
* Python 2 version 2.6.X or version 2.7.x not support python 3.x
* Pip

###Install the Alicloud CLI using pip:

$ sudo pip install alicloudcli

To upgrade an existing Alicloud CLI installation, use the --upgrade option::

$ sudo pip install --upgrade alicloudcli
For windows system, you please dont use sudo.

###Command Completion:
On Linux and Mac OS systems, the AliCloud CLI includes a command-completion feature that can enable you to use the TAB key to complete a partially typed command. This feature needs you configure it manually.

Configuring command completion requires two pieces of information: the name of the shell you are using and the location of the alicloud_completer script.


$ complete -C '/usr/local/bin/alicloud_completer' alicloud


% source /usr/local/bin/

###Configure the AliCloud CLI:

Run alicloud configure at the command line to set up your credentials and settings.

$ alicloud configure
Alicloud Access Key ID [****************wQ7v]:
Alicloud Access Key Secret [****************fxGu]:
Default Region Id [cn-hangzhou]:
Default output format [json]:

After configure you can use the tool now:

$ alicloud Ecs DescribeInstances
$ alicloud Ecs StartInstance --InstanceId your_instance_id
$ alicloud Rds DescribeDBInstances

###Install the SDK using pip
AliCloud CLI needs SDK to work , you can install SDK using pip like follow:

$sudo pip install aliyun-python-sdk-ecs
$sudo pip install aliyun-python-sdk-rds
$sudo pip install aliyun-python-sdk-slb

More detail you can access our official website:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
alicloudcli-1.0.2.tar.gz (53.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page