Before you start building anything in Node.js, the first thing that you need to do is install Node.js in my machine. The Node.js installer is available for all different types of operating system.
So without any further delay, let’s go ahead and install Node in our machine.
Note – I am using Mac operating system. So this tutorial will cover steps for Mac. For Windows user, steps are similar. If there is any difference, I will let you guys know.
Download and Install Node.js
First thing you need to do is go to the Node download website (https://nodejs.org/en/download/) and click on the most stable version for your operating system.
Once downloaded, double click on the installed and then follow the steps. Once completed, Node is installed in your machine.
Verify the installation
In the next post, we will write our first Node.js program. Yes the famous “Hello World” in Node.js