Forked and modified from itspngu as the project has been archived.
This repository is a azure-cli plugin for the asdf version manager. asdf plugin is a convenient way to install a large number of command line tools of various versions and to upgrade with a flat-file.
curl
- for azure-cli downloads from upstream releasespython3
(withpip
andvenv
modules) - for installing and running the cli where version 2.54.0 release supports python 3.11.
Plugin:
asdf plugin-add azure-cli https://github.com/boris-ning-usds/asdf-azure-cli
azure-cli:
# Show all installable versions
asdf list-all azure-cli
# Install specific version
asdf install azure-cli latest
# Set a version globally (in your ~/.tool-versions file)
asdf global azure-cli latest
# Run azure-cli
az --version
> azure-cli 2.54.0
[...]
Refer to the upstream azure-cli repository for documentation and usage instructions.
Check the asdf readme for more instructions on how to install & manage versions.
asdf plugin remove azure-cli
See LICENSE.