title: Sudo user not using same node version
body: <p>I have a strange issue on my server, when ever i try to install packages with <code>npm</code> that require <code>sudo</code> I run into issues and i have discovered that my <code>su</code> and regular user use different node versions.</p>
  
  <pre><code>$ node -v i get node version  0.10.x
  </code></pre>
  
  <p>But when i do:</p>
  
  <pre><code>$ sudo node -v i get node version 0.6.x
  </code></pre>
  
  <p>My <code>su</code> user for some reason is using a different node version than what i normally use and this causes compatibility issues when I <code>npm install</code> packages that require <code>sudo</code>.</p>
  
  <p>I have tried sudo apt-get upgrade nodejs at no luck. how do i make su user use same node version as my regular user.</p>