Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English
Read in English Edit

Share via

Facebook x.com LinkedIn Email

Azure Command-Line Interface (CLI) documentation

Official product documentation for Azure command-line interface (Azure CLI). Azure CLI is a cross-platform command-line tool for managing Azure resources with interactive commands or scripts.

About Azure CLI

Overview

  • Get started
  • What is Azure CLI?
  • Support lifecycle

Training

  • Create Azure resources
  • Control Azure services
  • Manage virtual machines

Installation

Download

  • Overview
  • Install - Windows
  • Install - Linux
  • Install - macOS
  • Run in Azure Cloud Shell
  • Run in a Docker container

What's new

What's new

  • Overview
  • Release notes
  • Upcoming breaking changes
  • Impact of MFA in automation

Azure CLI reference

Reference

  • Command reference

Identity and authentication

How-To Guide

  • Authentication methods
  • Sign in with Web Account Manager (WAM)

Concepts

How-To Guide

  • Manage subscriptions
  • Use the Azure REST API
  • Query command output
  • Change output formats
  • Script Azure resources at scale

Tutorial

  • Learn to use the Azure CLI
  • Work with service principals
  • Create virtual machines

Configuration

How-To Guide

  • Configure settings
  • Protect sensitive information

Fundamentals

Get started

  • Conceptual articles
  • Onboarding cheat sheet
  • Tips to use Azure CLI successfully

Samples

sample

  • Samples
  • Samples repo

Environment-specific guidance

Concept

  • Work in interactive mode
  • How-to use Azure CLI in a Bash environment
  • Considerations in a PowerShell environment

Help & support

Overview

  • Report product issues
  • Troubleshoot
  • Get help from the community
  • Follow Azure CLI on X
  • Azure Tools Blog
Your Privacy Choices
  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2025
Your Privacy Choices
  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2025