You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Learn how to install the Azure CLI and the Deployment Environments CLI extension so you can create Deployment Environments resources from the command line.
4
+
description: Learn how to install the Azure CLI extension for Azure Deployment Environments so you can create resources from the command line.
5
5
services: deployment-environments
6
6
ms.service: deployment-environments
7
7
ms.custom: build-2023, devx-track-azurecli
8
8
ms.topic: how-to
9
9
ms.author: rosemalcolm
10
10
author: RoseHJM
11
-
ms.date: 04/25/2023
11
+
ms.date: 11/22/2023
12
12
#Customer intent: As a platform engineer, I want to install the devcenter extension so that I can create Deployment Environments resources from the command line.
# Install the Azure CLI extension for Azure Deployment Environments
16
16
17
-
In addition to the Azure admin portal and the developer portal, you can use the Deployment Environments Azure CLI extension to create resources. Azure Deployment Environments and Microsoft Dev Box use the same Azure CLI extension, which is called *devcenter*.
17
+
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*.
18
18
19
19
## Install the devcenter extension
20
20
21
-
To install the devcenter extension, you first need to install the Azure CLI. The following steps show you how to install the Azure CLI, then the devcenter extension.
21
+
You first need to install the Azure CLI, and then install the devcenter extension.
22
22
23
23
1. Download and install the [Azure CLI](/cli/azure/install-azure-cli).
24
24
25
-
1. Install the devcenter extension
26
-
```azurecli
27
-
az extension add --name devcenter
28
-
```
29
-
1. Check that the devcenter extension is installed
30
-
```azurecli
31
-
az extension list
32
-
```
25
+
1. Install the devcenter extension by using the following command.
26
+
```azurecli
27
+
az extension add --name devcenter
28
+
```
29
+
30
+
1. Check that the devcenter extension has been installed.
31
+
``` azurecli
32
+
az extension list
33
+
```
34
+
33
35
### Update the devcenter extension
34
-
You can update the devcenter extension if you already have it installed.
35
36
36
-
To update a version of the extension that's installed
37
+
If you already have the devcenter extension installed, you can update it.
37
38
``` azurecli
38
39
az extension update --name devcenter
39
40
```
41
+
40
42
### Remove the devcenter extension
41
43
42
-
To remove the extension, use the following command
44
+
To remove the extension, use the following command.
43
45
```azurecli
44
46
az extension remove --name devcenter
45
47
```
46
48
47
49
## Get started with the devcenter extension
48
50
49
-
You might find the following commands useful as you work with the devcenter extension.
51
+
You might find the following commands useful while you work with the devcenter extension.
50
52
51
-
1. Sign in to Azure CLI with your work account.
53
+
1. Sign in to the Azure CLI with your account.
52
54
53
55
```azurecli
54
56
az login
@@ -57,21 +59,21 @@ You might find the following commands useful as you work with the devcenter exte
57
59
1. Set your default subscription to the subscription where you're creating your specific Deployment Environments resources.
58
60
59
61
```azurecli
60
-
az account set --subscription {subscriptionId}
62
+
az account set --subscription <subscriptionId>
61
63
```
62
64
63
-
1. Set default resource group. Setting a default resource group means you don't need to specify the resource group for each command.
65
+
1. Set a default resource group so that you don't need to specify the resource group for each command.
64
66
65
67
```azurecli
66
-
az configure --defaults group={resourceGroupName}
68
+
az configure --defaults group=<resourceGroupName>
67
69
```
68
70
69
-
1. Get Help for a command
71
+
1. Get help for a command.
70
72
71
73
```azurecli
72
74
az devcenter admin --help
73
75
```
74
76
75
77
## Next steps
76
78
77
-
For complete command listings, refer to the [Microsoft Deployment Environments and Azure Deployment Environments Azure CLI documentation](https://aka.ms/CLI-reference).
79
+
For complete command listings, see the [Microsoft Dev Box and Azure Deployment Environments Azure CLI documentation](https://aka.ms/CLI-reference).
0 commit comments