title: How to update azure-cli on Windows?
body: <p><code>az --version</code> is telling to update my CLI installation without explaining what to do.
  So what is the <code>az</code> command to install the updates, if there is any? I can't seem to find it anywhere.</p>
  
  <p>I've tried looking for answers here: <a href="https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli-latest" rel="noreferrer">https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli-latest</a> and here: <a href="https://github.com/MicrosoftDocs/azure-docs-cli/issues/1341" rel="noreferrer">https://github.com/MicrosoftDocs/azure-docs-cli/issues/1341</a> but can't seem to find anything related to updating it.</p>
  
  <pre><code>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.
  </code></pre>
  
  <p>I'm looking for something similar to <code>apt-get</code> command in Linux for installing, upgrading and cleaning packages.</p>