https://store-images.s-microsoft.com/image/apps.2474.1568e0da-29de-4d33-984e-5cf5befdbd8e.ac3aa975-66e2-44d6-bb3f-85f9195726f7.5e9b0cca-e258-437f-a897-07b886424d55

Command Line Interface

by pcloudhosting

(1 ratings)

Version 2.67.0 + Free Support on Ubuntu 20.04

The Azure Command-Line Interface (CLI) is a cross-platform tool to manage Azure resources from the terminal. It allows developers and administrators to create, manage, and automate Azure services efficiently without using the web portal.

Features of Azure CLI:

  • Provides a consistent interface to manage Azure resources from any platform (Linux, macOS, Windows).
  • Supports automation of resource provisioning and management through scripts.
  • Integrates with popular DevOps tools and CI/CD pipelines.
  • Offers extension support to enhance functionality for specific Azure services.
  • Includes built-in authentication, subscription, and account management commands.

To install and check Azure CLI version:

$ sudo apt update

$ sudo apt install -y ca-certificates curl apt-transport-https lsb-release gnupg

$ curl -sL https://packages.microsoft.com/keys/microsoft.asc | sudo gpg --dearmor -o /usr/share/keyrings/microsoft.gpg

$ echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/azure-cli/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/azure-cli.list

$ sudo apt update

$ sudo apt install -y azure-cli

To verify Azure CLI version:

$ az --version

Disclaimer: Azure CLI is a tool developed and maintained by Microsoft Corporation. It is provided "as is," without any warranty, express or implied. Users are responsible for ensuring compliance with Microsoft licensing and security policies while using Azure CLI.