Tuesday, August 22, 2023

Install Azure CLI in Red Hat Linux | How to setup Azure CLI in Linux | How to Install Azure CLI in Red Hat Enterprise Linux

The Azure command-line interface (Azure CLI) is a set of commands used to create and manage Azure resources. The Azure CLI is available across Azure services and is designed to get you working quickly with Azure, with an emphasis on automation. Azure CLI is Microsoft's cross-platform command-line experience for managing Azure resources.

Azure CLI can be installed by following below steps:

Import the Microsoft repository key

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc

For RHEL 8 or CentOS Stream 8, add packages-microsoft-com-prod repository:

sudo dnf install -y https://packages.microsoft.com/config/rhel/8/packages-microsoft-prod.rpm

Install with the dnf install command
sudo dnf install azure-cli -y

Check the version of Azure CLI

az version

Run the Azure CLI with the az command. To sign in, use the az login command.

az login

No comments:

Post a Comment

Complete AI-Enabled DevOps Learning Roadmap for 2026 | Skills Required to Become a Modern DevSecOps Engineer

 ðŸš€  AI-Enabled DevOps Engineer Roadmap for 2026 The future belongs to AI-Enabled DevOps Engineers, not AI-only Engineers. Strong DevOps fun...