A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/node-js/how-to-download-and-install-node-js-and-npm/ below:

How to Download and Install Node.js and NPM

How to Download and Install Node.js and NPM

Last Updated : 23 Jul, 2025

NodeJS and NPM (Node Package Manager) are essential tools for modern web development. NodeJS is the runtime environment for JavaScript that allows you to run JavaScript outside the browser, while NPM is the package manager that helps manage libraries and code packages in your projects.

To run a Node.js project on your system, you first need to install Node.js and NPM. Once installed, you can use the Node.js runtime to execute JavaScript code and NPM to manage project dependencies and packages.

Note: We do not need to download NodeJS and NPM separately. When we install NodeJS, NPM (Node Package Manager) is installed automatically along with it.

How to download and install NodeJS and NPM

Follow the below given steps below to download and install NodeJS and npm on your system:

Step 1: Download the package from its Official Website

Go to the official NodeJS website.

You will see two main download options:

Official Website

Installing NodeJS is the first step towards building scalable web applications. 

Step 2: Install NodeJS and NPM

Now you need to install the NodeJS installer on your system. You need to follow the following steps for NodeJS to be installed.

Setup Wizard Step 3: Finish Setting up

Go through the terms and license carefully before finishing up the setup.

License Step 4: Set Download Path

At last, it will ask for a "Destination Folder" where all the files and their utility will be saved, provide the path where you want to install NodeJS and then click on NEXT.

Setup Custom Setup Step 5: Get the System Ready to Complete the Setup

The installer may prompt you to “install tools for native modules”.

System Ready How to Download and Install Node.js and NPM Step 6: Verify the Installation

Once the installation is complete, you can verify that both NodeJS and NPM are installed correctly by running the following commands in your terminal or command prompt:

node -v

This command will display the installed version of NodeJS.

npm -v

This command will display the installed version of NPM.

Node and npm

If both commands return the version numbers, it means that NodeJS and NPM are successfully installed on your system.

Start creating your NodeJS application.

Conclusion

That’s it! You've successfully installed NodeJS and NPM on your system, and you're ready to start building and managing NodeJS projects. With NPM, you can easily install third-party libraries, manage dependencies, and work on large-scale JavaScript projects.



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4