title: npm / yeoman install generator-angular without sudo
body: <p>I tried to install generator-angularjs using Yo (<a href="http://yeoman.io" rel="noreferrer">Yoeman</a>) <strong>without sudo</strong>:</p>
  
  <pre><code>npm install -g generator-angular
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>Error: EACCES, mkdir '/usr/lib/node_modules/generator-angular'
  </code></pre>
  
  <p>When I type in <code>sudo yo</code>, yo tells me that I should not use sudo (which is perfectly understandable). </p>
  
  <p>I have a <code>~/node_modules</code> directory - why doesn't yo install its packages there?</p>