title: npm install locally
body: <p>In the past when I installed packages using npm(>=1.0) they would be installed locally, but not  anymore.</p>
  
  <h2>My setup:</h2>
  
  <ul>
  <li><p>First I use <a href="https://github.com/creationix/nvm">nvm</a> to install node.js.</p></li>
  <li><p>My operating System:</p>
  
  <pre><code>alfred@alfred-laptop:~/node/so/6513101$ cat /etc/lsb-release 
  DISTRIB_ID=Ubuntu&lt;br&gt;
  DISTRIB_RELEASE=10.10
  DISTRIB_CODENAME=maverick
  DISTRIB_DESCRIPTION="Ubuntu 10.10"
  </code></pre></li>
  <li><p>My node version:</p>
  
  <pre><code>alfred@alfred-laptop:~/node/so/6513101$ node -v
  v0.4.8
  </code></pre></li>
  <li><p>My npm version:</p>
  
  <pre><code>alfred@alfred-laptop:~/node/so/6513101$ npm -v
  1.0.15
  </code></pre></li>
  </ul>
  
  <h2>Installing random package</h2>
  
  <pre><code>alfred@alfred-laptop:~/node/so/6513101$ npm install notifo
  notifo@0.0.2 ../../../node_modules/notifo 
  </code></pre>
  
  <p>In the past it would install into the same directory but it does not install in the same directory anymore. is my npm/node.js broken or am I missing something or does npm not anymore install local packages(inside same folder => <code>~/node/so/6513101/node_modules</code>)  which I thought was a cool feature because I could <code>bundle</code> all my dependencies so that other users did not have to install npm to use my code(I still believe users should install npm because it is a great product). The <code>bundle</code> command is gone so I can't use that? Could someone please explain to me what is going on?  </p>