Azure CLI logo

Azure CLI

Azure CLI is the official cross-platform command-line tool for managing Microsoft Azure resources and services from the terminal.

1 APIs 8 Features
Cloud Provider CLICommand Line Interface

APIs

Azure CLI

Azure CLI is the official cross-platform command-line tool for managing Microsoft Azure resources and services from the terminal.

Features

Cross-Platform Support

Runs on Windows, macOS, and Linux with identical command syntax.

Interactive Mode

Interactive shell with auto-complete and inline help for command discovery.

Multiple Output Formats

Output as JSON, YAML, table, or TSV for pipeline integration.

JMESPath Querying

Filter and transform output with JMESPath query language using --query.

Azure Cloud Shell

Run Azure CLI in the browser via Azure Cloud Shell without local installation.

Bash Scripting Integration

Embed Azure CLI commands in Bash and PowerShell automation scripts.

Extension Support

Extend CLI functionality with official and community extensions.

Service Principal Auth

Authenticate with service principals for automated/non-interactive scenarios.

Use Cases

Resource Provisioning

Provision Azure resources like VMs, storage accounts, and databases from the command line.

DevOps Automation

Automate Azure infrastructure tasks in CI/CD pipelines and deployment scripts.

Monitoring and Diagnostics

Query resource metrics, logs, and health status from the terminal.

Batch Operations

Perform bulk operations across multiple Azure resources in a single script.

Infrastructure as Code

Complement Terraform and Bicep with scripted Azure CLI commands.

Integrations

Azure DevOps

Use Azure CLI in Azure DevOps pipelines with the AzureCLI task.

GitHub Actions

Authenticate and run Azure CLI commands in GitHub Actions workflows.

Terraform

Complement Terraform with Azure CLI for tasks outside the Terraform provider.

Azure Cloud Shell

Access a pre-configured Azure CLI environment via browser.

VS Code

Integrated terminal support and Azure CLI extension for Visual Studio Code.

Resources

🔗
Website
Website
🔗
Documentation
Documentation
👥
GitHubRepository
GitHubRepository
🚀
GettingStarted
GettingStarted
📄
ChangeLog
ChangeLog