title: Install Microsoft Azure CLI without using Microsoft documentation
body: <p>I am trying to install Azure CLI as described in Microsoft documentation "Install Azure CLI 2.0"<a href="https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest#install-on-windows" rel="nofollow noreferrer" title="Install Azure CLI 2.0">1</a>. The documentation seems out-of-date, hard to understand and has many issues associated with it. Each step in the documentation introduces new issues to fix first. An example is shown below. </p>
  
  <pre><code>PS C:\WINDOWS\system32&gt; Install-Module AzureRM
  Install-Module : The 'Install-Module' command was found in the module 'PowerShellGet', but the module could not be load
  ed. For more information, run 'Import-Module PowerShellGet'.
  At line:1 char:1
  + Install-Module AzureRM
  + ~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Install-Module:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule
  
  PS C:\WINDOWS\system32&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>PS C:\Users\ostraaten&gt; Import-Module AzureRM
  Import-Module : The specified module 'AzureRM' was not loaded because no valid module file was found in any mod
  ctory.
  At line:1 char:1
  + Import-Module AzureRM
  + ~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : ResourceUnavailable: (AzureRM:String) [Import-Module], FileNotFoundException
      + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
  </code></pre>
  
  <p>Are there other ways to get Azure CLI? Third-party installers for example. Is there more up-to-date documentation? Better tested documentation?</p>
  
  <p>I cannot use btw the Azure CLI for Linux - which does work - because I need a reserved public static IP address which can only be created using MS Windows CLI for Windows. It also cannot be created through the portal. For reasons unknown. </p>
  
  <p>I also tried the Cloud Shell where CLI is pre-installed but that version is older and doesn't include the method to create reserved IP address. Updating the CLI version in Cloud Shell is also not possible. It fails with an error message.</p>