Set up the Service Fabric Mesh CLI
The Service Fabric Mesh Command Line Interface (CLI) is required to deploy and manage resources in Service Fabric Mesh.
For the preview, Azure Service Fabric Mesh CLI is written as an extension to Azure CLI. You can install it in the Azure Cloud Shell or a local installation of Azure CLI.
Open Azure Cloud Shell
Azure Cloud Shell is a free, interactive shell that you can use to run the steps in this article. Common Azure tools are preinstalled and configured in Cloud Shell for you to use with your account. Just select the Copy button to copy the code, paste it in Cloud Shell, and then press Enter to run it. There are a few ways to open Cloud Shell:
|Select Try It in the upper-right corner of a code block.|
|Open Cloud Shell in your browser.|
|Select the Cloud Shell button on the menu in the upper-right corner of the Azure portal.|
Install the Service Fabric Mesh CLI locally
If you choose to install and use the CLI locally, you must install the Azure CLI version 2.0.43 or later. Run
az --version to find the version. To install or upgrade to the latest version of the CLI, see Install the Azure CLI.
Install the Azure Service Fabric Mesh CLI extension module using following command.
az extension add --name mesh
To update an existing Azure Service Fabric Mesh CLI module, run the following command.
az extension update --name mesh
You can also set up your Windows development environment.