Edit

What is the Azure CLI (preview)?

The Azure Command-Line Interface (CLI) is a cross-platform command-line tool that connects to Azure and runs administrative commands on Azure resources. Use it interactively at a shell prompt or run commands in a script.

The next-generation Azure CLI, available in preview, builds on this experience with profile-based authentication, shell-native tab completion, and optional AI-based error recovery. This article introduces the next-generation preview and explains how it differs from the generally available Azure CLI.

Note

The next-generation Azure CLI is in preview. Not all Azure CLI and Azure PowerShell scenarios are available, and features might change between releases. For supported environments and current limitations, see Get started with the next-generation Azure CLI (preview).

Azure CLI versions

The Azure CLI preview documentation covers the next-generation Azure CLI, including preview-specific installation, authentication, and configuration guidance.

The next-generation Azure CLI preview can coexist with your existing Azure CLI installation, so you can evaluate it without replacing your current tools. For coexistence guidance, see Switch between the classic Azure CLI and the preview build.

Preview capabilities

The next-generation Azure CLI preview includes these capabilities:

Using the preview

The next-generation Azure CLI preview has its own installation, authentication, and configuration guidance. Start with Get started with the next-generation Azure CLI (preview) for supported environments, sign-in guidance, and current limitations. For setup and settings, see Install the Azure CLI preview and Configuration management.

Data collection

The next-generation Azure CLI preview sends usage telemetry by default. For telemetry controls, including those for AI-based error recovery, see Configuration management. For privacy information, see the Microsoft privacy statement.

Next steps