NodeJS notes

update nodejs

How to update node.js

sudo npm cache clean -f
sudo npm install -g n
sudo n stable

// sudo n 0.8.20  // install a specific version