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

DevOps Bootcamp Aug 2024 Schedule | DevOps & AWS Azure Cloud Coaching by Coach AK | DevOps and Cloud Computing Online Classes

  (Lot of new topics covered like GitHub Actions, Helm and Monitoring..) The DevOps requirements in the IT market space is expected to grow ...