title: How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X)
body: <p>My version of node is always v0.6.1-pre even after I install brew node and NVM install v0.6.19.</p>
  
  <p>My node version is:</p>
  
  <pre class="lang-none prettyprint-override"><code>node -v
  v0.6.1-pre
  </code></pre>
  
  <p>NVM says this (after I install a version of node for the first time in one bash terminal):</p>
  
  <pre class="lang-none prettyprint-override"><code>nvm ls
  v0.6.19
  current:    v0.6.19
  </code></pre>
  
  <p>But when I restart bash, this is what I see:</p>
  
  <pre class="lang-none prettyprint-override"><code>nvm ls
  v0.6.19
  current:    v0.6.1-pre
  default -&gt; 0.6.19 (-&gt; v0.6.19)
  </code></pre>
  
  <p>So where is this phantom node 0.6.1-pre version and how can I get rid of it? I'm trying to install libraries via NPM so that I can work on a project.</p>
  
  <p>I tried using BREW to update before NVM, using <code>brew update</code> and <code>brew install node</code>. 
  I've tried deleting the "node" directory in my <code>/usr/local/include</code> and the "node" and "node_modules" in my <code>/usr/local/lib</code>.
  I've tried uninstalling npm and reinstalling it following <a href="https://superuser.com/questions/268946/uninstall-node-js">these</a> instructions.</p>
  
  <p>All of this because I was trying to update an older version of node to install the "zipstream" library. Now there's folders in my users directory, and the node version STILL isn't up to date, even though NVM says it's using 0.6.19.</p>
  
  <p><strong>Ideally, I'd like to uninstall nodejs, npm, and nvm, and just reinstall the entire thing from scratch on my system.</strong></p>