How do I update Node.js?
I used the following instructions to upgrade from Node.js version 0.10.6 to 0.10.21 on a Mac. Clear NPM’s cache: sudo npm cache clean -f Install a little helper called ‘n’ sudo npm install -g n Install latest stable Node.js version sudo n stable Alternatively pick a specific version and install like this: sudo n 0.8.20 … Read more