title: What does the -g option for npm install and npm list do?
body: <p>The Node.js <code>npm</code> (Node Package Manager) has a <code>-g</code> command line argument, which I often see referenced. For example, the documentation for the <a href="https://github.com/Azure/azure-xplat-cli" rel="nofollow">Microsoft Azure x-plat (cross-platform) CLI tool</a> says to install it by using <code>npm install -g azure-cli</code>.</p>
  
  <p>Question: What does the <code>-g</code> option do?</p>