npm install - javascript heap out of memory : <p>When running <code>npm install -g ionic</code> I get the following error:</p>

<blockquote>
  <p>FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory</p>
</blockquote>

<p>Is there a way to globally increase the node.js memory limit?</p>
