Skip to main content
#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:

aliyun-developers-efficiency@list.alibaba-inc.com

###Prerequisites:

* 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.

####bash:

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

####zsh:

% source /usr/local/bin/alicloud_zsh_complete.sh

###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:

http://intl.alicloud.com

Metadata

Release files for alicloudcli 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alicloudcli 1.0.2
File Size Uploaded Provenance
alicloudcli-1.0.2.tar.gz 53.5 kB Without provenance Details

Release files / alicloudcli-1.0.2.tar.gz

Download URL alicloudcli-1.0.2.tar.gz
Size 53.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ad878cf0152ea4cf7dea739a9913c79f980dea9fdf597d017bf8c164d3b2e174
BLAKE2b-256 checksum
How to use checksums
f42bf479628db42380c57bf03cf7cfe4667f956efce170df3deb05d85c965f2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for alicloudcli 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page