Skip to main content

Install Node JS in MAC using Terminal

Node.js is an open source server environment which runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.). It uses JavaScript on the server.

Node.js runs single-threaded, non-blocking, asynchronously programming, which is very memory efficient.

Node.js can generate dynamic page content. It can manipulate files on server and collect data.

To install node js and npm on Mac follow steps:

Step 1: Type below command

$ brew install node

Step 2: Type below 2 commands if you are getting link error

$ brew link node
$ rm /usr/local/share/systemtap/tabsep/node.stp

Step 3: Verify node installed by typing below command

$ node -v
$ npm -v

Uninstall Node

$ brew uninstall node
$ brew autoremove

Update Node

$ brew update
$ brew upgrade node

Video Tutorial: Install Node JS in MAC using Terminal

Submitted by tgoswami on February 12, 2021

Tarun has 11+ years of experience in Quality Assurance in different domains like Banking, E-commerce, Health and Education.


At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.