azdev is a developer tool designed to assist new and experienced contributors in creating and maintaining command modules and extensions for the Azure CLI. It provides utilities for setting up development environments, running static code checks, tests, and managing CLI-related artifacts. The current version is 0.2.9, with a frequent release cadence, often introducing minor updates and bug fixes.
pip install azdevNo compatibility data collected yet for this library.
The `azdev` tool is primarily a command-line interface. This quickstart demonstrates how to install `azdev`, set up your local Azure CLI development environment by pointing to your cloned repositories, and run a basic linter check. Full development requires cloning the official Azure CLI and potentially `azure-cli-extensions` repositories.
Adhere strictly to its intended use case for local Azure CLI development and testing environments.
If encountering installation errors, ensure your `pip` and `setuptools` versions align with `azdev`'s requirements. You may need to downgrade or upgrade `pip` and `setuptools` specifically: `pip install 'pip==25.2' 'setuptools==70.0.0'` (adjust versions as per release notes).
Ensure you are running Python 3.9 or newer. If you experience unexpected behavior, cross-reference the `azdev` GitHub release notes and PyPI metadata for any specific Python version recommendations or known issues.
Try explicitly installing a compatible `setuptools` version before `azdev`: `pip install 'setuptools==70.0.0' && pip install azdev` (check `azdev` release notes for exact `setuptools` pin).
Pin `pip` to a compatible version as specified in `azdev`'s release notes (e.g., `pip install 'pip==25.2' && pip install azdev`).
Verify that you have correctly set up your `azdev` environment using `azdev setup --cli <path> --repo <path>` and that the module/extension name you are passing exists within those repositories. Run `azdev --help` or `azdev <command> --help` to check valid options.