Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1.11 KB

xplat-cli-install.md

File metadata and controls

28 lines (16 loc) · 1.11 KB

Install the Azure CLI

Quickly install the Azure Command-Line Interface (Azure CLI) to use a set of open-source shell-based commands for creating and managing resources in Microsoft Azure. Use one of the provided installer packages to install the Azure CLI on your operating system, install the CLI using Node.js and npm, or install the Azure CLI as a container in a Docker host. For more options and background, see the project repository on GitHub.

Use an installer

The following installer packages are available:

Install and use Node.js and npm

If Node.js is already installed on your system, use the following command to install the Azure CLI:

npm install azure-cli -g

Use a Docker container

In a Docker host, run:

docker run -it microsoft/azure-cli