Use npm to update node
First clear your cache and try
sudo npm cache clean -f sudo npm install -gn sudo n 0.12.4
Then create a symbolic link (this is only necessary sometimes, first try with these three commands. If this does not work, add this.)
It will be updated to version 0.12.4 .
source share