Skip to content

Latest commit

 

History

History
79 lines (56 loc) · 2.45 KB

how-to-install-devcenter-cli-extension.md

File metadata and controls

79 lines (56 loc) · 2.45 KB
title titleSuffix description services ms.service ms.custom ms.topic ms.author author ms.date
Install the devcenter Azure CLI extension
Azure Deployment Environments
Learn how to install the Azure CLI extension for Azure Deployment Environments so you can create resources from the command line.
deployment-environments
deployment-environments
build-2023, devx-track-azurecli
how-to
rosemalcolm
RoseHJM
11/22/2023

Install the Azure CLI extension for Azure Deployment Environments

In addition to the Azure admin portal and the developer portal, you can use the Azure Deployment Environments CLI extension to create resources. Azure Deployment Environments and Microsoft Dev Box use the same Azure CLI extension, which is called devcenter.

Install the devcenter extension

You first need to install the Azure CLI, and then install the devcenter extension.

  1. Download and install the Azure CLI.

  2. Install the devcenter extension by using the following command.

    az extension add --name devcenter
    
  3. Check that the devcenter extension was installed.

    az extension list
    

Update the devcenter extension

If you already have the devcenter extension installed, you can update it.

az extension update --name devcenter

Remove the devcenter extension

To remove the extension, use the following command.

az extension remove --name devcenter

Get started with the devcenter extension

You might find the following commands useful while you work with the devcenter extension.

  1. Sign in to the Azure CLI with your account.

    az login
    
  2. Set your default subscription to the subscription where you're creating your specific Deployment Environments resources.

    az account set --subscription <subscriptionId>
    
  3. Set a default resource group so that you don't need to specify the resource group for each command.

    az configure --defaults group=<resourceGroupName>
    
  4. Get help for a command.

    az devcenter admin --help
    

Next steps

For complete command listings, see the Microsoft Dev Box and Azure Deployment Environments Azure CLI documentation.