The Wayback Machine - https://web.archive.org/web/20240827233303/https://www.geeksforgeeks.org/installation-of-node-js-on-windows/
Open In App

Installation of Node JS on Windows

Last Updated : 25 Jun, 2024
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Node.js can be installed in multiple ways on a computer. The approach used by you depends on the existing Node.js development environment in the system. There are different package installers for different environments. You can install Node.js by grabbing a copy of the source code and compiling the application. Another way of installing Node.js is by cloning the Node.js GIT repository in all three environments and then installing it on the system.

Installing Node On Windows (WINDOWS 10)

You have to follow the following steps to install the Node.js on your Windows :

Step 1: Download the NodeJS

Downloading the Node.js ‘.msi’ installer the first step to install Node.js on Windows is to download the installer. Visit the official Node.js website i.e) https://nodejs.org/en/download/

Download-Node

Download Node.js

You can run the above commands to install the nodejs.You can also download Nodejs using Prebuilt installer .

Step 2: Go to Prebuilt Installer and Select the Versions

Nodejs-installer-(MSI)

Nodejs installer (MSI).png

You can select the required version or can download the Long Time Support version.Click on Download button to download the node version.

Once You Download the .msi installer follow next step.

Step 2: Running the Node.js Installer

Now you need to install the node.js installer on your PC. You need to follow the following steps for the Node.js to be installed:

Double-click on the .msi installer

The Node.js Setup wizard will open.

Welcome To Node.js Setup Wizard

Select “Next”

After clicking “Next”, the End-User License Agreement (EULA) will open.

Check “I accept the terms in the License Agreement”
Select “Next”

Destination Folder Set the Destination Folder where you want to install Node.js & Select “Next”.

Custom Setup

Select “Next”

Ready to Install Node.js.

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

Select “Install”

Do not close or cancel the installer until the installation is complete. Complete the Node.js Setup Wizard.

Click “Finish”

Capture71image

Step 4: Verify that Node.js was properly installed or not

To check that node.js was completely installed on your system or not, you can run the following command in your command prompt or Windows Powershell and test it:-

C:\Users\Admin> node -v

If node.js was completely installed on your system, the command prompt will print the version of the Node JS installed.

Step 5: Updating the Local npm version

You can run the following command, to quickly update the npm

npm install npm --global // Updates the ‘CLI’ client

Previous Article
Next Article

Similar Reads

Introduction and Installation of Heroku CLI on Windows machine
Heroku: It is a cloud based application deployment and management service. Heroku works on the container based design system and these smart containers are known as dynos . It runs application inside various dynos and each dyno is separated from each other. Installation of Heroku on Windows machine:Step 1: Download Windows installer Download the ap
2 min read
Installation of WordPress on Windows
If you want to build a website using WordPress on your Windows machine, you’re in the right place! WordPress is an open-source Content Management System (CMS) that allows you to create dynamic websites and blogs. Setting up WordPress on your Windows computer is a great way to create a local environment for development and testing. What is WordPress
4 min read
What is global installation of dependencies in Node.js ?
In Node.js, dependencies or packages can be installed either locally or globally. Understanding the difference between these installations is crucial for effective project management and environment setup. This article focuses on the global installation of dependencies, explaining what it is, how it works, and when you might want to use it. Table o
3 min read
Installation of Node JS on Linux
Node JS is a JavaScript runtime built on Chrome's V8 engine, and on Ubuntu Linux, it can be installed via the NodeSource repository for the latest version. Hostinger's VPS provides a robust environment for Node.js apps, offering control and flexibility. They have templates for easy Node.js setup on Ubuntu 22.04 with Node.js, along with an OpenLiteS
3 min read
How to Install the Windows Subsystem for Linux on Windows 11?
As a programmer, it is very important to test software on multiple platforms. However, it can be very tedious and inefficient to use multiple virtual machines to achieve the same. Thankfully, this process can be simplified if you are using Windows and wish to run a Linux distribution - with WSL. WSL, or Windows Subsystem for Linux, lets developers
2 min read
How to Upgrade From Windows 10 to Windows 11 For Free?
Windows 11 is a very popular operating system by Microsoft. Windows 11 is free for Windows 10 PC that meet some minimum hardware requirements. There is no need to spend money on a brand-new computer when you can upgrade to Windows 11 for free. Besides this, Microsoft officially announced that existing PCs (original versions) will be offered to upgr
5 min read
How to Download and Install Windows Movie Maker on Windows 10?
Movie Maker video is one of the best video editors available on the Microsoft store itself and is absolutely free. Movie maker video editor is a single-OS software, i.e. it works only in windows, and not on macOS, and Linux. Movie maker has more than 10 million users worldwide. Some of the very cool features of movie maker video editors are that th
2 min read
LAMP installation and important PHP configurations on Ubuntu
PHP is the Web development (Server Side Scripting Language) written and developed for web developers.It was developed by Rasmus Lerdorf in 1994, for maintaining his personal homepage. Later he added the feature to communicate with web forms and to connect with databases, named it as Personal Home Page Tools (PHP), Lerdorf wrote those using C binari
5 min read
How to Install a Printer Without Installation Disk?
There are many possible reasons why the CD isn't working for your printer such as the disc drive being broken (easily fixable by changing the driver for the disc), or even because printers can use different discs. A computer with installed drivers for your printer, and either a USB cable or an Ethernet connection. Disable any antivirus and firewall
4 min read
Angular 7 | Installation
To install Angular 7 on your machine you have to require the following things to be installed in your machine. Install Visual Studio Code IDE or JetBrains WebStorm.Install Node.jsUsing npm to install angular cli Follow the steps to set up an Angular 7 Environment: Step 1: Install Visual Studio Code IDE (or JetBrains WebStorm) Visual Studio Code is
2 min read
Laravel | Installation and Configuration
Laravel is a PHP framework that makes building complex web applications a cakewalk. In this guide you are going to learn how to Install and Configure Laravel and get your first Laravel project running in your computer. Prerequisites: Basic knowledge of PHPPHP InstallationBasic knowledge of Terminal/Command Prompt Steps to install Laravel: Laravel a
2 min read
Django REST Framework Installation
Django REST Framework can be installed via pip package similar to Django installation. Since Django REST Framework is a wrapper over default Django Framework, to install it, Django should be installed already. Now to install rest framework follow the below process. Prerequisites Python Pip Django How to install Django REST Framework To install Djan
1 min read
p5.js | SoundFile Object Installation and Methods
The SoundFile object is a part of the p5.sound which is a library of JavaScript. This object contains so many functions nearly 30+ functions are there. Each one of them is useful to design a sounded website. By using this object you can easily add audio into your website and play, pause, stop anything you want. To do so you just need to attach the
4 min read
Beautifulsoup Installation - Python
Beautiful Soup is a Python library for pulling data out of HTML and XML files. It works with your favorite parser to provide idiomatic ways of navigating, searching, and modifying the parse tree. It commonly saves programmers hours or days of work. The latest Version of Beautifulsoup is v4.9.3 as of now. PrerequisitesPythonPip How to install Beauti
1 min read
Svelte | Introduction and Installation
Svelte is the new methodology for creating web apps. It can be used in a small part of a code or in an entire single page application. It is a compiler not a framework, which is faster than other JavaScript libraries like ReactJS, AngularJS, VueJS. It is used to create reactive web apps. If any change occurs in the data that change will reflect on
2 min read
CakePHP Framework | Installation and Configuration
CakePHP is an open-source framework for PHP based on a Model–View–Controller (MVC)-like architecture and modeled after the concepts of Ruby on Rails, which is powerful as well as easy to learn. It's a foundational structure for programmers to create web applications. Models, Views, and Controllers are used for the separation of business logic from
1 min read
Introduction and Installation process of Gulp
Gulp can be defined as a task runner or a toolkit for automating time-consuming tasks such as magnification, concatenation, cache busting, unit testing and linting in web development. It uses Node.js as a platform and utilizes JavaScript code to help in running front-end tasks and large-scale web applications. These tasks can be run on PowerShell,
3 min read
PugJS Basics and Installation
Pug.js is a template engine for Node.js and browsers to render dynamic reusable content. At compile time, the template engine compiles our Pug template code to HTML. We can use variables in pug just like in JavaScript. At runtime, the template engine injects or replaces variables in a template file with actual values, and transforms the template in
3 min read
Ant Design Introduction and Installation for Angular
Ant Design is a design pattern for enterprise-level products that can be integrated with other front-end frameworks such as Angular, React, or Vue. Ant Design official implementation is released with React but it can be used with other JavaScript frameworks. It is an open-source tool with approximately 50.4K GitHub stars, it is the world's second m
3 min read
MDBootstrap Introduction and Installation for Angular
Introduction: MDBootstrap (Material Design for Bootstrap) is a complete UI package that can be integrated with other frameworks such as Angular, React, Vue, etc. It is used to design a fully responsive and mobile-friendly layout using various components, plugins, animations to make it more attractive and user friendly which are compatible with othe
3 min read
Sails.js Basics and Installation
Node.js: Node.js is an open-source and cross-platform runtime environment for executing JavaScript code outside a browser. You need to remember that NodeJS is not a framework and it’s not a programming language. Most of the people are confused and understand it’s a framework or a programming language. We often use Node.js for building back-end serv
2 min read
SweetAlert Library Introduction and Installation with the Example
When building JavaScript-driven websites we often have the need to provide feedback to our users to let them know if the action they have performed has been successful or not. In the early days of the web, developers used to create messages using the window.alert() function. While alert() works in practice and it’s also consistent across browsers,
5 min read
script.aculo.us Installation
What is script.aculo.us? script.aculo.us is a set of open-source JavaScript libraries designed to enhance the user interface of web sites. It provides visual effects engine, a drag and drop library, controls (sliders, in-place editing, Ajax-based autocompletion), and more via the Document Object Model (DOM). It was first released to the public in J
3 min read
AngularJS End to End (E2E) Testing Protractor Installation and Setup
The Protractor is an end-to-end test framework developed for Angular and AngularJS applications. It runs tests against the application interacting with it as a real user would, running in a real browser. Features of Protractor: Tests using browser: Protractor uses native events and browser-specific drivers to interact with the application.Build for
2 min read
AsgardCMS Introduction and Installation
AsgardCMS is made for developers. It is a full-featured, multilingual modular CMS developed on top of the Laravel framework. The built-in quick-development tools allow the developer to avoid spending their time on design and concentrate on functionality. It has the following characteristics: Completely Responsive: It has Bootstrap, which is fully r
3 min read
DayJS Introduction and Installation
Day js is a lightweight date and time manipulation library. It is an alternative to moment js with the same modern API. The latest version of day js has a size of 7Kb (minified) and 2Kb (Gzipped). Due to its small size, it takes less time to load and thus improving the overall performance of the application. Features: It is easy to use and since it
2 min read
ASP Introduction and Installation
ASP stands for Active Server Page. It is commonly known as Classic ASP or ASP Classic. ASP is a server-side scripting language that is used for executing the scripts on the webserver. This technology was developed by Microsoft. It is an old but still useful tool used to create dynamic webpages. ASP is a program that runs inside a web server. Active
3 min read
Introduction and Installation of Nightmare.js
Nightmare is provided by Segment and is a high-level browser automation library. The goal for this Nightmare is to follow the path of the user actions (like goto, type, click, etc.), in order to expose few simple methods with an API that feels synchronous for each block of scripting, rather than deeply nested callbacks. It has been designed for aut
2 min read
Pure CSS Installation and Uses
Pure CSS is a framework of CSS. It is a free and open-source tool collection for creating responsive websites and web applications. Pure CSS is developed by Yahoo and is used for creating faster, beautiful, and responsive websites. It can be used as an alternative to Bootstrap. Installation of Pure CSS: We can add Pure CSS to our webpage in two way
2 min read
Selenium JavaScript Installation
Selenium is a tool that helps us automate anything present on the web. Breaking this definition down to even simpler terms than selenium provides us the ability to interact with the web browser automatically using codes. From login to a website to like, share, or comment on a post we can do it all automatically with the help of selenium. So if you
3 min read