Improved docs for how to update Azure CLI 2.0

This commit is contained in:
Troy McConaghy
2017-06-07 17:15:36 +02:00
parent 0472006024
commit 0592f3c45b

View File

@@ -45,11 +45,12 @@ on most common operating systems
<https://docs.microsoft.com/en-us/cli/azure/install-az-cli2>`_.
Do that.
First, update the Azure CLI to the latest version:
If you already *have* the Azure CLI installed, you may want to update it.
.. code:: bash
.. warning::
``az component update`` isn't supported if you installed the CLI using some of Microsoft's provided installation instructions. See `the Microsoft docs for update instructions <https://docs.microsoft.com/en-us/cli/azure/install-az-cli2>`_.
$ az component update
Next, login to your account using: