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

DevSecOps Bootcamp Feb 2025 Schedule | DevOps & AWS Azure Cloud Coaching by Coach AK | DevSecOps and Cloud Computing Online Classes

🚀 Join the Ultimate DevSecOps Bootcamp – February 2025! 🔥 Are you ready to supercharge your career in DevSecOps ? Whether you're a be...