

Available versions can be found at Azure CLI release notes. You must first configure azure-cli repository information as shown previously.

sudo rpm -import įor RHEL 9 or CentOS Stream 9, add packages-microsoft-com-prod repository: sudo dnf install -y įor RHEL 8 or CentOS Stream 8, add packages-microsoft-com-prod repository: sudo dnf install -y įor RHEL 7 or CentOS 7, add azure-cli repository: echo -e "

To install the Azure CLI, follow these steps: Use the yum package manager if you're using a Linux system that doesn't support the dnf package manager. Microsoft continues to develop and support Azure CLI and the Linux Install script. Microsoft isn't providing other updates or bug fixes for these distributions. Azure CLI 2.38.1 (released on September 01, 2023) is the last version supported on RHEL 7 and Centos 7 and will continue to receive security fixes until the end of life of the operating systems.
