Automic VaultAutomic Vault

brew

azure-cli を Homebrew, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

azure-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

エージェント安全性

エージェント安全性の回答

azure-cli controls Azure accounts, resources, subscriptions, and deployments.

認証情報アクセス

Reads Azure account tokens, config files, cloud credentials, and environment variables.

リモート変更

Can create, delete, and reconfigure Azure infrastructure.

公開/成果物リスク

Can deploy application artifacts and infrastructure templates.

推奨コントロール

Gate mutating az commands and credential export or login changes.

エージェント利用ガイダンス

Allow account/resource reads in safe subscriptions; require approval for writes and deletes.

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install azure-cli

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install azure-cli

MacPorts ports tree · sysutils/azure-cli/Portfile · ソース: api.github.com

Linux

Debian apt確認済み · 92%
sudo apt install azure-cli

Debian stable package indexes · azure-cli · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install azure-cli

Fedora Rawhide package metadata · azure-cli · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#azure-cli

nixpkgs package indexes · pkgs/by-name/az/azure-cli/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S azure-cli

Arch Linux sync databases · azure-cli · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install azure-cli

openSUSE Tumbleweed package metadata · azure-cli · ソース: download.opensuse.org

Windows

Chocolatey確認済み · 92%
choco install azure-cli

Chocolatey community package catalog · azure-cli · ソース: community.chocolatey.org

Scoop確認済み · 92%
scoop install main/azure-cli

Scoop official bucket manifest trees · bucket/azure-cli.json · ソース: api.github.com

Windows Package Manager確認済み · 92%
winget install --id Microsoft.AzureCLI -e

Windows Package Manager source index · Microsoft.AzureCLI · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

Microsoft Azure CLI 2.0

履歴

プロジェクトの歴史と使われ方

Azure CLI is Microsoft's cross-platform `az` command-line client for managing Azure resources. It is one of the canonical cloud-provider CLIs in package-manager indexes because it turns Azure administration, provisioning, identity, and resource inspection into scriptable shell commands.

プロジェクトの歴史

The Azure CLI 2.x line was developed in the open at Azure/azure-cli as a next-generation, multi-platform Azure command-line experience. The repository's earliest GitHub Releases include the 0.1 beta series in 2016, followed by the 2.x release train that became the standard `az` CLI used from local terminals, CI jobs, containers, and Azure Cloud Shell.

The CLI is implemented as a Python package with command modules for Azure service areas. Microsoft Learn positions it as the primary Azure command-line surface, with configuration under the Azure CLI config directory and first-class documentation for authentication, output formatting, querying, and automation patterns.

採用の歴史

Azure CLI became package-manager furniture because Azure users need the same `az` command on macOS, Linux, Windows, containers, and hosted CI. The input package facts list broad distribution across Homebrew, Chocolatey, Debian, Fedora/DNF, MacPorts, Nix, Arch/pacman, Scoop, winget, and zypper, which matches its role as a cloud bootstrap tool rather than an optional developer convenience.

Its presence in Azure Cloud Shell further normalized `az` as the default examples language for many Azure docs and snippets. Package users care that Homebrew and Linux packages track a large upstream release train and that shell completion, JSON/table/TSV output, and JMESPath querying make it pleasant in scripts.

使われ方

Typical usage is `az group create`, `az vm create`, `az storage ...`, `az account get-access-token`, or `az rest`, usually combined with `--query` and `--output` for shell pipelines. The official docs emphasize using `az configure`, environment variables, and the INI-style config file to tune defaults.

Credentials and tokens are stored under the Azure CLI config directory; current source code uses `msal_token_cache` and `service_principal_entries` there. Package maintainers and automation users should treat the directory as sensitive state, especially on shared runners.

パッケージ好きにとっての重要性

For package nerds, `azure-cli` is a classic heavyweight cloud CLI: fast-moving, Python-based, dependency-rich, and distributed everywhere. It stress-tests package managers on update cadence, Python dependency isolation, shell completion, telemetry defaults, and whether the packaged binary behaves the same as Microsoft's install scripts.

It also demonstrates the difference between a formula that installs a CLI and the hidden state that CLI writes under the user's home directory. Upgrades are routine, but auth caches and config files often outlive package removals.

タイムライン

  • 2016: Azure/azure-cli GitHub Releases include the 0.1 beta series.
  • 2017: Azure CLI 2.x becomes the public `az` generation for Azure automation.
  • 2020s: Azure CLI is broadly packaged across Homebrew, Linux distributions, Windows package managers, and Azure Cloud Shell.

Related projects

  • Azure PowerShell is Microsoft's PowerShell-native Azure automation surface.
  • Azure Developer CLI (`azd`) builds on Azure CLI-era workflows with project templates and app deployment conventions.
  • Azure Cloud Shell provides a hosted shell environment where Azure CLI is preinstalled.

ソース

  • Azure/azure-cli README and GitHub Releases
  • Microsoft Learn Azure CLI overview, authentication, and configuration docs
  • source_facts.package-manager

セキュリティ状態

リスクレベル: orange

cloud infrastructure mutation tool.

リスク分類器

リスク orange · 信頼度 高 · infrastructure

理由

  • cloud infrastructure mutation tool

信号

  • override:azure-cli

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 4 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 2 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.azure/config
Windows
%USERPROFILE%\.azure\config

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.azure/msal_token_cache.json~/.azure/service_principal_entries.json~/.azure/accessTokens.json

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
azcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版2.88.0
マネージャ更新日2026-07-07
ローカルデータOK
上流最新
検出された最新azure-cli-2.88.0

https://github.com/Azure/azure-cli

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:azure-cli
バージョン2.88.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/azure-cli
ホームページhttps://docs.microsoft.com/cli/azure/overview
リポジトリhttps://github.com/Azure/azure-cli
上流ドキュメントhttps://learn.microsoft.com/en-us/cli/azure
ライセンスMIT
ソースアーカイブhttps://github.com/Azure/azure-cli/archive/refs/tags/azure-cli-2.88.0.tar.gz
最終更新2026-07-07T09:03:39Z
Pulseupdated
依存関係libsodium, libyaml, openssl@3, python@3.14
ビルド依存関係pkgconf, rust
macOS 提供ライブラリlibffi
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameazure-cli
Aliases
  • az
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

azure-cli 2.74.0-1

Azure Command-Line Interface (CLI)

https://github.com/Azure/azure-cli

sudo apt install azure-cli
  • Section: python
  • Architecture: all
  • 2 依存関係
  • normalized package name match
  • 一致条件: Azure Cli
Debian stable package indexes · deb.debian.org · Debian stable package indexes: azure-cli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-azure-cli 2.74.0-1

Azure Command-Line Interface (CLI) - commands modules

https://github.com/Azure/azure-cli

sudo apt install python3-azure-cli
  • Section: python
  • Architecture: all
  • Source Package: azure-cli
  • 25 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Azure Cli
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-azure-cli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-azure-cli-core 2.74.0-1

Azure Command-Line Interface (CLI) - core modules

https://github.com/Azure/azure-cli

sudo apt install python3-azure-cli-core
  • Section: python
  • Architecture: all
  • Source Package: azure-cli
  • 19 依存関係
  • normalized package name match
  • 一致条件: Azure Cli
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-azure-cli-core from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-azure-cli-telemetry 2.74.0-1

Azure Command-Line Interface (CLI) - telemetry modules

https://github.com/Azure/azure-cli

sudo apt install python3-azure-cli-telemetry
  • Section: python
  • Architecture: all
  • Source Package: azure-cli
  • 3 依存関係
  • normalized package name match
  • 一致条件: Azure Cli
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-azure-cli-telemetry from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-azure-cli-testsdk 2.74.0-1

Azure Command-Line Interface (CLI) - testsdk modules

https://github.com/Azure/azure-cli

sudo apt install python3-azure-cli-testsdk
  • Section: python
  • Architecture: all
  • Source Package: azure-cli
  • 5 依存関係
  • normalized package name match
  • 一致条件: Azure Cli
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-azure-cli-testsdk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

azure-cli

nix profile install nixpkgs#azure-cli
  • normalized package name match
  • 一致条件: Azure Cli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/az/azure-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
dnf95%

azure-cli 2.85.0-2.fc45

Microsoft Azure Command-Line Tools

https://github.com/Azure/azure-cli

sudo dnf install azure-cli
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: azure-cli
  • 3 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Azure Cli
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: azure-cli from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

python3-azure-cli-core 2.85.0-2.fc45

Microsoft Azure Command-Line Tools Core Module

https://github.com/Azure/azure-cli

sudo dnf install python3-azure-cli-core
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: azure-cli
  • 3 依存関係
  • 5 提供
  • normalized package name match
  • 一致条件: Azure Cli
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-azure-cli-core from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

python3-azure-cli-telemetry 2.85.0-2.fc45

Microsoft Azure CLI Telemetry Package

https://github.com/Azure/azure-cli

sudo dnf install python3-azure-cli-telemetry
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: azure-cli
  • 2 依存関係
  • 5 提供
  • normalized package name match
  • 一致条件: Azure Cli
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-azure-cli-telemetry from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

python3-azure-cli-testsdk 2.85.0-2.fc45

Microsoft Azure CLI SDK testing tools

https://github.com/Azure/azure-cli

sudo dnf install python3-azure-cli-testsdk
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: azure-cli
  • 3 依存関係
  • 5 提供
  • normalized package name match
  • 一致条件: Azure Cli
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-azure-cli-testsdk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

azure-cli 2.86.0-1

Command-line tools for Microsoft Azure

https://github.com/Azure/azure-cli

sudo pacman -S azure-cli
  • License: MIT
  • Architecture: any
  • 4 依存関係
  • normalized package name match
  • 一致条件: Azure Cli
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: azure-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

azure-cli 2.87.0-1.1

Microsoft Azure CLI 2.0

https://github.com/Azure/azure-cli

sudo zypper install azure-cli
  • License: MIT
  • Category: System/Management
  • Architecture: noarch
  • Source Package: azure-cli
  • 32 依存関係
  • 32 提供
  • normalized package name match
  • 一致条件: Azure Cli
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: azure-cli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

azure-cli

sudo port install azure-cli
  • normalized package name match
  • 一致条件: Azure Cli
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/azure-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

azure-cli

choco install azure-cli
  • normalized package name match
  • 一致条件: Azure Cli
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: azure-cli from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','autodesk-fusion360'
Scoop95%

main/azure-cli

scoop install main/azure-cli
  • normalized package name match
  • 一致条件: Azure Cli
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/azure-cli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Microsoft.AzureCLI

winget install --id Microsoft.AzureCLI -e
  • normalized package name match
  • 一致条件: Azure Cli
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Microsoft.AzureCLI from https://cdn.winget.microsoft.com/cache/source.msix

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment