-
Notifications
You must be signed in to change notification settings - Fork 205
Install
Before you get started, ensure you have the following tools installed on your local machine:
- Git
-
GitHub CLI v2.3+ (only required for
azd pipeline config
when using GitHub Actions) - Azure Developer CLI (azd)
The installation scripts can also be used to update azd
in place. Run the script again to install the latest available released version.
To install daily test builds of azd
see Download from daily builds
For advanced install scenarios see Azure Developer CLI Installer Scripts
Windows:
powershell -ex AllSigned -c "Invoke-RestMethod 'https://aka.ms/install-azd.ps1' | Invoke-Expression"
MacOS/Linux:
curl -fsSL https://aka.ms/install-azd.sh | bash
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
To uninstall the Azure Developer CLI:
The Azure Developer CLI uses MSI to install on Windows. Use the "Add or remove programs" dialog in Windows to remove the "Azure Developer CLI" application.
Use this PowerShell script to uninstall Azure Developer CLI 0.4.0-beta.1 and earlier.
powershell -ex AllSigned -c "Invoke-RestMethod 'https://aka.ms/uninstall-azd.ps1' | Invoke-Expression"
curl -fsSL https://aka.ms/uninstall-azd.sh | bash
- Download the extension from https://aka.ms/azure-dev/vsix
- In vscode
- Open "Extensions" (Ctrl+Shift+X)
- Click the
...
menu at top of Extensions sidebar - Click "Install from VSIX"
- Select location of downloaded file
Refer to Sample templates