Skip to content

Install

puicchan edited this page Jul 11, 2022 · 10 revisions

Install/Upgrade Azure Developer CLI

Before you get started, ensure you have the following tools installed on your local machine:

The installation scripts can also be used to update azd in place. Run the script again to install the latest available version.

Windows:

powershell -c "Set-ExecutionPolicy Bypass Process -Force; irm 'https://aka.ms/install-azd.ps1' | iex"

MacOS/Linux:

curl -fsSL https://aka.ms/install-azd.sh | bash

Docker container

Make sure you have Docker Desktop installed. Run the following command to get the az-dev-cli-apps container that includes all the prerequisites.

docker run -it mcr.microsoft.com/azure-dev-cli-apps:latest

Uninstall Azure Developer CLI

To uninstall the Azure Developer CLI:

Windows:

powershell -c "Set-ExecutionPolicy Bypass Process -Force; irm 'https://aka.ms/uninstall-azd.ps1' | iex"

Linux/MacOS:

curl -fsSL https://aka.ms/uninstall-azd.sh | bash

Install the VS Code extension

  1. Download the extension from https://aka.ms/azure-dev/vsix
  2. In vscode
    1. Open "Extensions" (Ctrl+Shift+X)
    2. Click the ... menu at top of Extensions sidebar
    3. Click "Install from VSIX"
    4. Select location of downloaded file

Azure Developer CLI Templates

Refer to Sample templates

Clone this wiki locally