Install the Azure CLI on Linux

February 4, 2026 ยท View on GitHub

This article explains how to install the Azure CLI on Linux. Select the appropriate package manager for your distribution from the options at the top of the page. Using a Linux distribution's package manager is recommended.

[!INCLUDE current-version]

::: zone pivot="dnf"

[!INCLUDE cli-install-linux-dnf]

::: zone-end

::: zone pivot="zypper"

[!INCLUDE cli-install-linux-zypper]

::: zone-end

::: zone pivot="apt"

[!INCLUDE cli-install-linux-apt]

::: zone-end

::: zone pivot="tdnf"

[!INCLUDE cli-install-linux-tdnf]

::: zone-end

Next Steps

Now that you installed the Azure CLI, take a short tour of its features and common commands.

[!div class="nextstepaction"] Get started with the Azure CLI