Upgrade Node & npm on your MacOSX

Tired of trying for options to upgrade your npm and node on you mac? Here, follow these two simple commands to get the latest or stable release and yes, forget the rest.

Tired of trying for options to upgrade your npm and node on you mac? Here, follow these two simple commands to get the latest or stable release and yes, forget the rest.

Upgrading node

npm install -g node

Upgrading npm

npm install -g npm@latest

Please note that, you can specify @latest or @stable. Both would work.

Comments