cli-install-linux-tdnf.md
August 28, 2025 ยท View on GitHub
Install Azure CLI
RPMs are released for Azure Linux through CBL-Mariner. The azure-cli package supports ARM64
architecture from CLI version 2.46.0.
To install the Azure CLI, follow these steps:
-
Install the official Microsoft curated set of trusted root certificates:
sudo tdnf install ca-certificates -
Install Azure CLI:
sudo tdnf install azure-cli
Install specific version
Available versions can be found at Azure CLI release notes.
To view available versions with command:
tdnf list azure-cli
To install specific version:
sudo tdnf install azure-cli-<version>-1
Update Azure CLI
Update the Azure CLI with the tdnf update command:
sudo tdnf update azure-cli
Uninstall Azure CLI
[!INCLUDE uninstall-boilerplate.md]
Remove the package from your system:
sudo tdnf remove azure-cli
Remove data
[!INCLUDE remove-data-boilerplate.md]