Installing Node.js on Mac using package manager

suggest change

Homebrew

You can install Node.js using the Homebrew package manager.

Start by updating brew:

brew update

You may need to change permissions or paths. It’s best to run this before proceeding:

brew doctor

Next you can install Node.js by running:

brew install node

Once Node.js is installed, you can validate the version installed by running:

node -v

Macports

You can also install node.js through Macports.

First update it to make sure the lastest packages are referenced:

sudo port selfupdate

Then install nodejs and npm

sudo port install nodejs npm

You can now run node through CLI directly by invoking node. Also, you can check your current node version with

node -v

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Installing Node.js:
* Installing Node.js on Mac using package manager

Table Of Contents
1 npm
6 Installing Node.js
41 cli
43 grunt
59 Hack
64 ES6
67 Redis
69 MongoDB
86 MongoDB
87 Lodash
91 CORS
105 N-API
108 Require