Upgrade Node.js via NPM + OS X Mountain Lion
Actualizando Node.js a la ultima version, los pasos son sumamente sencillos.
sudo npm cache clean -f sudo npm install -g n sudo n stable node -v
Así de facil
Ver entrada

seen from Malaysia
seen from China

seen from T1

seen from United States
seen from Germany
seen from United States
seen from Russia

seen from Germany

seen from Germany

seen from United States
seen from United States

seen from United Kingdom
seen from China
seen from Türkiye
seen from Italy

seen from Germany
seen from Philippines
seen from Italy
seen from China
seen from Germany
Upgrade Node.js via NPM + OS X Mountain Lion
Actualizando Node.js a la ultima version, los pasos son sumamente sencillos.
sudo npm cache clean -f sudo npm install -g n sudo n stable node -v
Así de facil
Ver entrada
Upgrading your nodejs version through npm
Node.js is continuously under development and the latest version keeps updating from time to time. Many of us have installed node long time ago and would like to update it to the latest version to use few packages that are supported only by newer node versions. For instance, to use node-inspector, one must have node 0.8.1 or above installed.
One way of doing it is getting the latest image from nodejs.org and installing it. Turns out that there is an easier way. Follow these simple steps below to upgrade your node package.
Clear your npm cache (sudo npm cache clean -f)
Install 'n'. 'n' is a Node helper that we will use to upgrade our node version.
Upgrade to latest version (sudo n stable)
Alternatively, you can specify the version you want to upgrade to. (sudo n 0.8.25)