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.
Leave a comment
Your email address will not be published. Email is optional. Required fields are marked *