Step-by-Step Guide to Node.js installation on Your System

Introduction of Node Js:

Node.js is a popular JavaScript runtime environment that allows you to build server-side applications using JavaScript. Before you can start building with Node.js, you need to install it on your system. In this step-by-step guide, we will walk you through the process of Node.js installation on your machine.

node js installation

Step 1: Choose the installation package

Visit the official Node.js website ( and download the latest stable
On the homepage, you’ll see two download options: LTS (Long-Term Support) and Current. It’s recommended to choose the LTS version for stability unless you have specific reasons to use the Current version.

Step 2: download node js

Click on the LTS button to download the installer for the LTS version.
The download will start automatically based on your operating system (Windows, macOS, or Linux)

Also Read This:- introduction to node js

Step 3: Run the installer (install Node js .exe file)

Once the download is complete, locate the installer file (the file with a .msi extension on Windows or a .pkg extension on macOS).
and follow the instructions provided by the installer.
On Windows, you may need to accept the license agreement and choose the installation location.
On macOS, drag and drop the Node.js icon to the Applications folder.

Step 4: Verify the Node js installation

After the installation is complete, open a terminal (Command Prompt on Windows, Terminal on macOS/Linux).
To verify that Node.js is installed correctly, type the following command and press Enter:

node -v

It will display the installed version of Node.js.

Step 5: Verify the package manager (npm)

“npm (Node Package Manager) is bundled with the Node.js installation by default. You don’t need to npm install it separately.”

You can still use the following instruction to check the installed version of npm:

“To verify the installation and check the version of npm, open a terminal or command prompt and type the following command:

npm -v

Press Enter, and it will display the installed version of npm.”

Congratulations! You have successfully installed Node.js on your system. You can now start building applications using Node.js and its vast ecosystem of packages.