Monday, November 7, 2022

manage azure cli on ubuntu

 on ubuntu:

sudo apt install -y azure-cli 


But above command is not getting the latest one and few sub commands are not working properly.

like az tag list not getting --resource-group attribute working.


Below command works better, copied from https://learn.microsoft.com/en-us/cli/aure/install-azure-cli-linux?pivots=apt

curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash



No comments:

Post a Comment