Paul
Paul

Reputation: 19

could not install Azure CLI

I am trying to install Azure Cli on Mac.

I use

brew update && brew install azure-cli

However, it stuck at

==> Installing dependencies for azure-cli: rust
==> Installing azure-cli dependency: rust
==> ./configure --prefix=/usr/local/Cellar/rust/1.59.0 --enable-vendor --release-channel=stable
==> make

Upvotes: 0

Views: 2697

Answers (1)

Delliganesh Sevanesan
Delliganesh Sevanesan

Reputation: 4796

Steps to install Azure CLI on Mac OS:

Install the Azure CLI with homebrew package manager. it keeps your CLI up to date. its officially tested with macOS version 10.9 and later.

As you already followed this

brew update && brew install azure-cli

Before doing this make note of it.

Azure CLI has a dependency on the Homebrew [email protected] package, we need to install it.

brew update && brew install [email protected] && brew upgrade [email protected] 
brew link --overwrite [email protected]

So, after installing the [email protected] version you can use the pip/brew command to install the Azure CLI.

Refer here for more information.

Upvotes: 2

Related Questions