I would recommend removing all your current node and npm versions
Uninstall Node.JS using Linux command line?
and then install nvm via these instructions:
http://www.wenincode.com/installing-node-jsnpm-without-sudo/
use curl:
$ curl https://raw.githubusercontent.com/creationix/nvm/v0.12.1/install.sh | bash
or use wget:
$ wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.12.
Once you've run either of those commands and NVM has finished downloading, run the following command:
$ source ~/.profile
Now NVM commands should be working in the terminal, try $ nvm
to confirm the NVM command is working. If not, try restarting your terminal.
Once NVM is working you can install a version of node by using the following command:
$ nvm install [version-no]
To list the available versions, run this command:
$ nvm ls-remote
To install a version of node run:
$ nvm install <version no>
$ nvm install 0.10.29 //example
then when you want to use a specific version of node use
nvm use <version no>
Its the easiest way to use node imo and removes the need for sudo too which can cause issues.