

To enable completion, please follow Homebrew's instructions here. The Homebrew formula of Azure CLI installs a completion file named az in the Homebrew-managed completions directory (default location is /usr/local/etc/bash_completion.d/).

If you experience a problem not covered here, file an issue on github. If you encounter a problem when installing the CLI through Homebrew, here are some common errors. To learn more about different authentication methods, see Sign in with Azure CLI. Sign in with your account credentials in the browser. If no web browser is available or the web browser fails to open, use device code flow with az login -use-device-code. Otherwise, open a browser page at and enter theĪuthorization code displayed in your terminal. If the CLI can open your default browser, it will do so and load an Azure sign-in page. You can then run the Azure CLI with the az command. The Azure CLI is guaranteed to be compatible with the latest version of python3
#FREE COMPARISON TOOL FOR MAC OS X INSTALL#
The Azure CLI has a dependency on the Homebrew python3 package, and will install it. You can install the Azure CLI on macOS by updating your brew repository information, and then running the install command: brew update & brew install azure-cli If you don't have homebrew available on your system, install homebrew before continuing. It provides convenient ways to install, update, and uninstall. Homebrew is the easiest way to manage your CLI install. To find your installed version and see if you need to update, run az version. For information about the latest release, see the release notes. The current version of the Azure CLI is 2.28.0. The CLI package has been tested on macOS versions 10.9 and later. The Azure CLI on macOS allows the execution of various commands through a terminal using interactive command-line prompts or a script.įor the macOS platform, you can install the Azure CLI with homebrew package manager. You can install the Azure CLI locally on macOS computers. The Azure Command-Line Interface (CLI) allows the execution of commands through a terminal using interactive command-line prompts or a script.
