2016年9月18日 星期日

Upgrade NodeJS to the latest version on Mac os

If you initially installed Node.js with Homebrew, run:
brew update
brew upgrade node
npm install -g npm
Or as a one-liner:
brew update && brew upgrade node && npm install -g npm

from : http://stackoverflow.com/questions/11284634/upgrade-nodejs-to-the-latest-version-on-mac-os

沒有留言:

wibiya widget