无法安装Azure CLI

发布于 2025-01-30 18:41:25 字数 359 浏览 3 评论 0 原文

我正在尝试在Mac上安装Azure CLI。

但是我使用的

brew update && brew install azure-cli

是,它卡在

==> 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

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

被翻牌 2025-02-06 18:41:25

在Mac OS上安装Azure CLI的步骤:

使用 Azure CLI 使用 Homebrew Package Manager 。它可以使您的 cli 最新。它的 macos 版本 10.9 及以后进行了正式测试。

正如您已经遵循的那样

brew update && brew install azure-cli

,然后再进行此操作。

Azure CLI对Homebrew ,我们需要安装

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

因此,安装 pip/brew命令安装Azure CLI

请参阅 在这里 有关更多信息。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文