How to Install Node JS on Windows

How to Install Node JS on Windows

How to Install Node JS on Windows GA S REGULAR Menu Lifewire Tech for Humans Newsletter! Search Close GO Software & Apps > Windows

How to Install Node JS on Windows

Get your Windows PC ready to code with Node JS

By Nicholas Congleton Nicholas Congleton Writer William Patterson University Nick Congleton has been a tech writer and blogger since 2015. His work has appeared in PCMech, Make Tech Easier, Infosec Institute, and others. lifewire's editorial guidelines Updated on April 20, 2022 Tweet Share Email Tweet Share Email Windows The Ultimate Laptop Buying Guide

What to Know

Download Node JS and run the installer. Choose a directory and which components to install, then select Next. When it asks to install tools for Node JS, check the box for Automatically install the necessary tools.To open a Node console window, go to the Start menu > Node.js.
This article explains how to install Node JS on Windows 11, 10, and 8.

How to Install Node JS on Windows PCs

Even though Node JS, like many web languages, tends to be easier to work with on Mac and Linux, that doesn’t mean Windows users are stuck without it. You can still easily get Node JS running on your Windows PC. Open your browser, then head over to the Node JS download page. Select the Windows Installer, and begin your download. When the download’s complete, run the installer. The install wizard will open and greet you. Select Next to continue. Next, you’ll be asked to accept the Node JS license. Read and accept the license and then select Next to keep moving. The next screen will ask you to choose an installation directory for Node JS. The default option in your Program Files directory will work in most cases, but if you want something custom, select Change and navigate to the location you prefer. When you're done, select Next. You’ll then have an opportunity to change the Node JS setup and choose which components you install. Unless you need something custom, leave this alone, then select Next. The installer will then ask if you want to install the tools to build modules for Node JS. Select the box for Automatically install the necessary tools, then select Next. Because Node isn’t generally intended to run on Windows, it’s a good idea to install these modules for the absolute best possible compatibility now, rather than having to go back later and fill in gaps. With the setup complete, you’ll be presented with the option to begin the installation. Select Install to start. The installation will run. It should only take a few seconds to run through. When it’s done, you’ll see a success message letting you know that Node JS was installed. Select Finish to complete the install. A command line window will now appear and ask you to install the additional modules. Press any key to start. A PowerShell window will launch to begin the installation. Confirm anything that it asks. This process will install several components and modules from multiple locations, so it may take some time. Finally, the install will complete and the PowerShell window will close. You’re officially ready to work with Node. Open the Start menu, scroll and select the Node.js folder to expand the entry, then select Node.js. A Node console window will open. Here you can test out Node. You can type any JavaScript code in the console, and Node will run it. It’s simplest to test with: console.log(“something”);
That’s it! You’re ready to start developing with Node JS on your Windows PC.

What Is Node JS

Node JS is an incredibly popular web technology that lets you run JavaScript, which is already the go-to language of the web, on the back end of your website. Node JS is powerful and it runs more quickly than other popular server-side scripting languages. It also enables developers to use one language for both the front end and the back end of their sites. Was this page helpful? Thanks for letting us know! Get the Latest Tech News Delivered Every Day Subscribe Tell us why! Other Not enough details Hard to understand Submit More from Lifewire How to Install the Android SDK (Software Development Kit) How to Install PIP on Windows How to Install Windows on Steam Deck How to Use BlueStacks to Run Android Apps on Windows How to Install and Setup BASH on Windows 10 How to Fix Kernel32.dll Errors in Windows How to Reinstall Windows Defender in Windows 11 How to Turn off Incognito Mode How to Factory Reset a Lenovo Laptop How to Unlock the Bootloader on Your Android Phone Install Windows 8/8.1 From USB [Full Walkthrough] How to Tether Your Smartphone with PdaNet+ How to Install Windows 10 on a New Hard Drive How to Install a WordPress Theme What Is the Windows Terminal & How Does It Work? How to Flash Custom ROMs on Android With TWRP Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. Cookies Settings Accept All Cookies
Share:
0 comments

Comments (0)

Leave a Comment

Minimum 10 characters required

* All fields are required. Comments are moderated before appearing.

No comments yet. Be the first to comment!