update node mac to specific version

JavaScript
sudo n latest//On Linux/Mac:
//The module n makes version-management easy:
sudo npm install n -g
//For the latest stable version:
sudo n stable
//For the latest version:
sudo n latest
Source

Also in JavaScript: