az --version
is telling to update my CLI installation without explaining what to do.
So what is the az
command to install the updates, if there is any? I can't seem to find it anywhere.
I've tried looking for answers here: https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli-latest and here: https://github.com/MicrosoftDocs/azure-docs-cli/issues/1341 but can't seem to find anything related to updating it.
my-username@Azure:~$ az --versionazure-cli 2.0.72 *
command-modules-nspkg 2.0.3
core 2.0.72 *
nspkg 3.0.4
telemetry 1.0.3
Extensions:
interactive 0.4.3
Python location '/opt/az/bin/python3'
Extensions directory '/home/my-username/.azure/cliextensions'
Python (Linux) 3.6.5 (default, Aug 22 2019, 06:32:32)
[GCC 5.4.0 20160609]
Legal docs and information: aka.ms/AzureCliLegal
You have 2 updates available. Consider updating your CLI installation.
I'm looking for something similar to apt-get
command in Linux for installing, upgrading and cleaning packages.