Wednesday, January 31, 2018

How To Update To The Latest Node.js Version On a Mac?

N is an npm-based node version manager. You can install it by installing first some version of node and then running
 npm install -g n
Assuming you have successfully installed n. The following will install the latest version of node.
 sudo n latest
Latest version by the time the article was published: v9.4.0

You can use Nvm or Homebrew as well.

No comments:

Post a Comment