Azure CLI
Microsoft · Microsoft’s cross-platform command-line tools for creating, managing, and automating Azure resources.
brew install --cask azure-cli- 30-day installs
- 50,508
- #4 in App
- 1-year installs
- 87.9K
- Last 365 days
- Latest version
- 2.93.0
- Download size
- 47MB
- gz
- Release cadence
- Monthly
- 2 releases in 30 days
About
Azure CLI is Microsoft's cross-platform command-line tool for signing in to Azure and managing resources from a terminal or a script. On a Mac it installs with Homebrew. The current recorded version is 2.92.0, and Microsoft states that the package requires macOS 13 or higher.
What it is for
The CLI creates, queries, and changes Azure resources with interactive prompts or repeatable scripts. Commands are grouped as az subgroups. You can switch subscriptions, set a default resource group, and call the same commands from automation. It does not replace the Azure portal; both talk to the same account. The Developer Tools category lists other cloud command-line tools.
Install on Mac
Microsoft documents Homebrew as the macOS install path. Update brew information, then install with brew update && brew install azure-cli. From Azure CLI 2.85.0, Microsoft also documents a Homebrew Cask install (brew install --cask azure-cli) as a separate method that supports broker-based authentication. Check the installed build with az version.
Sign in with az login. After sign-in, az account list shows subscriptions you can access, and az account set --subscription selects one. Upgrade later with brew upgrade azure-cli or the matching cask command.
System requirements
Microsoft's macOS install page states macOS 13 or higher and lists the current CLI version as 2.92.0. The Homebrew cask records Apple Silicon and Intel. Disk and RAM figures are not stated on that install page. A network connection is required to reach Azure.
Price and licence
The CLI itself is the client used to administer an Azure account. Microsoft does not charge a separate listed price for the macOS client on the install page. Azure resources you create are billed under that account's own pricing. Sign-in uses a Microsoft or organizational identity that already has access.
Versions
The recorded version is 2.92.0. Microsoft publishes release notes for each CLI version. Update through Homebrew rather than mixing a manual installer with the brew copy. Compare the other major cloud client on the Google Cloud CLI page, and AWS session access on Session Manager Plugin.
Related tools
Google Cloud CLI is the terminal client for Google Cloud projects. Session Manager Plugin starts AWS Systems Manager sessions. None of the three replaces the others. More Mac developer utilities are in the Developer Workbench collection.
FAQ
Which macOS versions does Azure CLI support?
Microsoft's install page says the package requires macOS 13 or higher.
How do I switch subscriptions?
Run az account list, then az account set --subscription with the subscription name or ID.
Does the CLI bill me by itself?
The client is how you administer Azure. Charges come from the Azure resources and services on the account, not from a separate client price listed on the macOS install page.
How do I update it?
Run az version, then brew upgrade azure-cli for the formula install, or brew upgrade --cask azure-cli if you used the cask.
Last updated: 2026-11-05. Sources: Microsoft Learn, Install Azure CLI on macOS (https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-macos), which states version 2.92.0 and macOS 13 or higher.
At a glance
- Chip
- Apple silicon · Intel
- Auto-updates
- No
- Repository
- Open source · MIT · Updated 0 days ago★4.7K
- Developer
- Microsoft
- Homebrew
- Available; updated by Homebrew
- Also known as
- azure-cli
- Homepage
- docs.microsoft.com/cli/azure/overview
- Token
- azure-cli
Checked
What’s new in 2.93.0
New · OpenNavo editorial
Breaking-change release dated 2026-11-17: deprecates az webapp up, changes runtime list output, and adds SQL snapshot backup, ARO hosted control planes, and storage access controls.
How to install Azure CLI on Mac
Install without Homebrew
Download the file Homebrew uses for your chip: Install Details
Uninstall Azure CLI and optional data cleanup
brew uninstall --cask azure-cliA regular uninstall removes the app and keeps its settings and caches.
Deep clean (optional)
brew uninstall --zap --cask azure-cli--zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap.
Questions about Azure CLI
Is Azure CLI safe?
Azure CLI is in Homebrew’s official catalog and has not been disabled. Since September 2026, Homebrew disables apps that fail macOS Gatekeeper checks. When installing, Homebrew checks the download from github.com against its SHA-256 checksum. It was installed 50,508 times through Homebrew in the last 30 days.
Is Azure CLI open source?
Azure CLI’s source code is public on GitHub (Azure/azure-cli) under the MIT license.
How do I completely uninstall Azure CLI on a Mac?
Run brew uninstall --cask azure-cli. To delete its settings and caches as well, run brew uninstall --zap --cask azure-cli. --zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap. That also deletes ~/.
Does Azure CLI run on Apple silicon (M1 and later) Macs?
Yes. Homebrew downloads separate builds for Apple silicon and Intel Macs.
Where does Azure CLI store its settings and data?
Its data is in ~/. These locations come from Homebrew’s clean-up list.
What is the latest version of Azure CLI?
The latest version is 2.93.0, added to Homebrew on Nov 15, 2026. Run brew upgrade --cask azure-cli to update it.
What else does installing Azure CLI add?
It also adds 1 command-line tool: az.
Similar Apps
- Claude Code (Latest channel)Anthropic’s terminal coding assistant on the latest Homebrew release channel, with code editing, tool use, and project-aware workflows.
- GitHub Copilot CLITerminal AI coding assistant for understanding, planning, editing, and debugging projects, with GitHub integration, custom agents, and MCP tools.
- Visual Studio CodeMicrosoft’s extensible code editor with debugging, Git integration, an integrated terminal, remote development, and optional AI assistance.
- .NET SDKMicrosoft’s free, open-source development toolkit for building, testing and publishing .NET applications, including the CLI and matching runtimes.