azure-cli
Microsoft Azure Command-Line Tools
What it is and what it does
Azure CLI is Microsoft's official command-line interface for managing Azure cloud resources. It provides a unified way to create, configure, and manage virtual machines, storage accounts, databases, networking, and dozens of other Azure services from the terminal or scripts. The tool uses a hierarchical command structure (az [group] [subgroup] [command]) with tab completion, JMESPath query support for output filtering, and smart defaults for common operations like VM creation.
The package bundles 108 runtime dependencies covering Azure service SDKs (compute, storage, databases, key vault, AI services, and more), allowing you to orchestrate infrastructure, deploy applications, and manage cloud resources without leaving the command line. It's actively maintained, supports modern Python versions, and is positioned as production-stable.
Use it for:
- Provision and manage virtual machines, resource groups, and networking infrastructure on Azure from scripts or CI/CD pipelines.
- Automate deployment of web apps, containers, and databases by chaining Azure CLI commands in shell scripts.
- Query and filter Azure resources using JMESPath syntax to extract specific information for monitoring or reporting.
- Configure and rotate secrets, certificates, and keys stored in Azure Key Vault.
- Create and manage container registries, app services, and other managed services without using the Azure Portal.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Azure CLI is a command-line tool for managing Azure cloud resources and services across compute, storage, networking, databases, and other Azure offerings.
Yes. Azure CLI is the standard tool for Azure infrastructure automation and is actively maintained with no known vulnerabilities. Install it if you manage Azure resources, need to automate cloud deployments, or prefer command-line workflows over the portal. The low install friction and broad service coverage make it a practical choice for Azure users.
Install
azure-cli on PyPI
pip
pip install azure-cliuv
uv add azure-clipoetry
poetry add azure-cliInstalling azure-cli
Before you install
Low install friction with a pure Python wheel. Actively maintained with a recent release (2 days old) and 4602 repository stars. Supports current Python versions (3.10–3.14) and requires Python ≥3.10.0.
License in practice
MIT license (permissive) means you can use, modify, and distribute this tool freely with minimal restrictions, making it safe for both personal and commercial use.
Quickstart
pip install azure-cli
az configure
az vm create -g MyGroup -n MyVM --image ubuntults
Requires Python ≥3.10.0. Azure credentials and subscription must be configured via `az configure` before most commands will work.
Verify before relying
- Whether all 108 runtime dependencies are required for basic CLI functionality or only for specific service modules.
- Performance characteristics and typical response times for common operations like resource listing or creation.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 108 — antlr4-python3-runtime, azure-appconfiguration, azure-ai-projects, azure-batch, azure-cli-core, azure-cosmos, azure-data-tables, azure-datalake-store, azure-keyvault-administration, azure-keyvault-certificates, azure-keyvault-keys, azure-keyvault-secrets, azure-keyvault-securitydomain, azure-mgmt-advisor, azure-mgmt-apimanagement, azure-mgmt-appconfiguration, azure-mgmt-appcontainers, azure-mgmt-applicationinsights, azure-mgmt-authorization, azure-mgmt-batchai, azure-mgmt-batch, azure-mgmt-billing, azure-mgmt-botservice, azure-mgmt-cdn, azure-mgmt-cognitiveservices, azure-mgmt-compute, azure-mgmt-containerinstance, azure-mgmt-containerregistry, azure-mgmt-containerregistrytasks, azure-mgmt-containerservice |
| Maintenance | actively maintained — 2 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 6,891,572/month — #1,819 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_cli-2.89.1-py3-none-any.whl
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
azure-cli-coreProvides the core Python library and CLI…
permissive · top 5,000 on PyPI
kclikcli is a command-line provisioning and…
unclear · top 15,000 on PyPI
azure-cli-appserviceProvides Azure CLI commands for managing App…
permissive · top 15,000 on PyPI
az.cliExecutes Azure CLI commands from Python and…
permissive · top 15,000 on PyPI
duplocloud-clientCLI and Python SDK for managing DuploCloud…
permissive · top 15,000 on PyPI
azdevazdev is a command-line tool that helps…
permissive · top 15,000 on PyPI
azure-cli-sqlA command-line module for the Azure CLI that…
permissive · top 15,000 on PyPI
python-tools-scriptsBuilds CLI tools by auto-discovering Python…
permissive · top 15,000 on PyPI
azure-cli-acrProvides the Azure CLI 'acr' command module for…
permissive · top 15,000 on PyPI
azure-cli-diff-toolCompares and diffs Azure CLI metadata files…
permissive · top 15,000 on PyPI