Automic VaultAutomic Vault

brew

Installer azure-cli avec Homebrew, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de azure-cli pour les workflows d'agents IA.

sécurité des agents

Réponse sur la sécurité des agents

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

Accès aux identifiants

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

Modification distante

Can create, delete, and reconfigure Azure infrastructure.

Risque de publication ou d'artéfact

Can deploy application artifacts and infrastructure templates.

Contrôle recommandé

Gate mutating az commands and credential export or login changes.

Conseils d'utilisation par les agents

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

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install azure-cli

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install azure-cli

MacPorts ports tree · sysutils/azure-cli/Portfile · Source: api.github.com

Linux

Debian aptvérifié · 92%
sudo apt install azure-cli

Debian stable package indexes · azure-cli · Source: deb.debian.org

Fedora dnfvérifié · 92%
sudo dnf install azure-cli

Fedora Rawhide package metadata · azure-cli · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#azure-cli

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

Arch Linux pacmanvérifié · 92%
sudo pacman -S azure-cli

Arch Linux sync databases · azure-cli · Source: geo.mirror.pkgbuild.com

openSUSE zyppervérifié · 92%
sudo zypper install azure-cli

openSUSE Tumbleweed package metadata · azure-cli · Source: download.opensuse.org

Windows

Chocolateyvérifié · 92%
choco install azure-cli

Chocolatey community package catalog · azure-cli · Source: community.chocolatey.org

Scoopvérifié · 92%
scoop install main/azure-cli

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

Windows Package Managervérifié · 92%
winget install --id Microsoft.AzureCLI -e

Windows Package Manager source index · Microsoft.AzureCLI · Source: cdn.winget.microsoft.com

aperçu

Résumé du paquet

Microsoft Azure CLI 2.0

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 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.

Sources

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

posture de sécurité

Niveau de risque : orange

cloud infrastructure mutation tool.

Classificateur de risque

risque orange · confiance élevé · infrastructure

Pourquoi

  • cloud infrastructure mutation tool

Signaux

  • override:azure-cli

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • S’installe avec 4 dépendances d’exécution.
  • Les métadonnées de compilation listent 2 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

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

exécutables

Exécutables installés

CommandeTypeExpositionNote
azcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-25
version du gestionnaire2.88.0
gestionnaire mis à jour2026-07-07
données localesOK
amontà jour
dernière version détectéeazure-cli-2.88.0

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

  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:azure-cli
Version2.88.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/azure-cli
Page d'accueilhttps://docs.microsoft.com/cli/azure/overview
Dépôthttps://github.com/Azure/azure-cli
Docs amonthttps://learn.microsoft.com/en-us/cli/azure
LicenceMIT
Archive sourcehttps://github.com/Azure/azure-cli/archive/refs/tags/azure-cli-2.88.0.tar.gz
Dernière mise à jour2026-07-07T09:03:39Z
Pulseupdated
Dépendanceslibsodium, libyaml, openssl@3, python@3.14
Dépendances de compilationpkgconf, rust
Bibliothèques fournies par macOSlibffi
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

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 Dépendances
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 dépendances optionnelles
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • 3 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 5 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 5 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 5 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 32 fournit
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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
  • Correspondance par : 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
  • Correspondance par : 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
  • Correspondance par : 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

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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