Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

How to Install NodeJS on MacOS?

  • Last Updated : 26 Nov, 2021

In this quick tutorial, we’ll take a quick look at how to get Node.js on macOS.

Installing Node.js on MacOS:

Follow the below steps to install Nodejs on MacOS:

Step 1: Download the Node.js from this link, here you will be able to see two versions one is LTF which stands for long term version and the other is the latest version so we need to download the LTS version because it is supported for the long term, it is a stable version.

Step 2: Run the Node.js Installer.

This is going to start this installation wizard so it’s really easy to follow this wizard once this wizard is open you just need to click continue.

Run the Node.js Installer.

Step 3: click on the “Agree” button

Agree to the terms

Step 4: Click on the “Install for all users of this computer”.

Install for all users of this computer

Step 5: Now click on the “install” button.

 click on the "install" button

Step 6: Now enter your system password and click on “install software”

enter your system password

Step 7: After installation completion, this window will show up, Now click on the “close” button

 installation completion

Verifying Node.js Installation:

Follow the below steps to verify the Nodejs installation:

Step 1: Now open the Terminal and write the following command

$ node -v

If Node.js was properly installed, you’ll see something close to (but probably not exactly) this:

 Step 2: now we will see the version of node package manager which is NPM so just type

 $ npm -v 

and it’s also going to give you the version of NPM which is 3.10.10 in my case, you’ll see something close to (but probably not exactly) 

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!