Friday, June 9, 2023

Install Azure CLI in Ubuntu 22.0.4 | How to setup Azure CLI in Ubuntu 22.0.4 | How to Install Azure CLI in Ubuntu

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:

Run the update first
sudo apt update

Install with one command

curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash

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

1 comment:

  1. Thanks, appreciate this. It helped when I couldn't use apt (apt-get) to install az cli on Ubunu

    ReplyDelete

Coach AK's Master DevSecOps Bootcamp Program Model Information | Master Multi cloud Program Information | AWS Cloud and Azure Cloud DevOps Coaching Program Model Information

(More New Topics..New tools added such as GitHub Actions, Helm, GitHub Advanced Security and Trivy Scanner, CheckOv IAC security ...