October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Redmond desk2 min

Install Node.js and npm on Windows: A CMD Setup and Verification Guide

Use the official Node.js LTS Windows installer to install Node.js and npm together, then verify both from a fresh Command Prompt.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For most Windows users, the simplest way to install Node.js and npm is to download the Windows installer for the current LTS release from the official Node.js download page. The installer includes both tools. After setup, open a new Command Prompt and run node -v and npm -v to verify they work.

Choose an installation method

Route Best for Trade-off
Official Node.js Windows installer A beginner who needs one Node.js version Simple setup; npm notes that installer installations can cause permissions problems when installing global packages.
Windows version manager Anyone whose projects require switching between Node.js versions Offers version switching, but adds setup beyond the basic installer route.

npm recommends using a Node.js version manager in general. Its Windows guidance lists nvm-windows and nodist as options. For one version and a straightforward first install, use the official installer; you do not need a separate npm download.

As an Amazon Associate I earn from qualifying purchases.

Install Node.js and npm with the Windows installer

  1. Open the Node.js download page and choose the release labeled LTS. Release numbers change, so use the current listing rather than relying on an older version number.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  2. Select the Windows installer that matches your computer’s architecture. The available package types can vary; for example, the Node.js v22.22.0 archive lists MSI installers for x64, x86, and ARM64. That is historical package evidence, not a recommendation to install that release.

    #1 Best Overall
    CORRSQ 30-in-1 Bootable USB Drive
    • 1. COMPATIBLE WITH WINDOWS 11, 10, 8.1 & 7 Designed for compatible 64-bit PCs and laptops that support USB booting. Works with Windows 11, Windows 10, Windows 8.1 and Windows 7 installation and recovery options.
    • 2. INSTALL, REINSTALL & REPAIR Provides access to installation and recovery options for startup failures, boot errors, system crashes, failed updates, system repair and reinstallation. Results depend on the condition of the computer and the cause of the problem.
    • 3. READY-TO-USE BOOTABLE USB Reusable installation and recovery media that helps eliminate the need to download large system files or create bootable media yourself. Insert the USB drive, open the computer’s boot menu and select the appropriate installation or recovery option.
    • 4. HELP KEEP OLDER PCS USEFUL Refresh, reinstall or maintain a compatible older computer before deciding whether replacement is necessary. Suitable for home computers, office workstations, PC enthusiasts and technicians who regularly work with supported systems.
    • 5. IMPORTANT COMPATIBILITY & LICENSE INFORMATION Supports compatible 64-bit computers with UEFI or Legacy BIOS USB booting. No Windows license, activation key or product key is included. Activation may require an existing digital license or a separately purchased valid product key. Back up important files before installation or repair.
  3. Run the downloaded installer and follow its prompts to complete setup. The installer installs Node.js and npm together. If your organization controls software installation, follow its approval process or ask your administrator.

  4. Close any open Command Prompt windows, then open Command Prompt again. A fresh terminal session can pick up the updated environment.

Check whether Node.js and npm work in Command Prompt

Enter these commands separately:

node -v
npm -v

Each command should print a version string. These checks confirm that Windows can find and run both commands; they do not install either tool.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Fix “not recognized” errors

If Command Prompt says node or npm is not recognized, work through these checks:

  1. Close Command Prompt and open it again, then rerun the relevant version command.

    Rank #2
    Bootable USB Flash Drive for Windows 7, Windows 7 Ultimate/Home/Pro 32/64 Bit Bootable USB Install & Recovery
    • NOTE: This USB flash drive does not include a Windows key, you must have a Windows key to activate Windows, but you can still clean install or reinstall Windows 7.
    • Latest Version: Deployed with the latest official original version of Windows 7 (SP1), no viruses, no spyware, 100% clean.
    • Professional: Using professional Windows 7 production tool to ensure product quality.
    • Compatibility: Compatible with all PC brands, laptop or desktop, 64-bit/32-bit, Dell, HP, Sony, Lenovo, Samsung, Acer, Toshiba and more.
    • Plug & Play: Includes user guide and online technical support services. Plug it in and you are ready to go.
  2. Confirm that the installer finished successfully. If it did not, run the official installer again and complete setup.

  3. Check the Windows PATH environment variable for the Node.js installation directory. The exact directory can vary by installation, so do not assume one path applies to every computer. If you change PATH, open a new Command Prompt before testing again.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

When a version manager makes sense

Use a Windows version manager if you need to switch Node.js versions for different projects. npm’s Windows documentation lists nvm-windows and nodist. Do not assume instructions using the Unix nvm shell command work directly in Windows Command Prompt; follow the chosen Windows manager’s own installation and usage instructions.

You can use Node.js and npm without installing global packages. If you later install global packages and encounter permissions problems, npm notes that installations made with the Node.js installer can be a source of those issues; a version manager is an alternative to consider.

Quick Recap

Bestseller No. 1
Bestseller No. 2
Bootable USB Flash Drive for Windows 7, Windows 7 Ultimate/Home/Pro 32/64 Bit Bootable USB Install & Recovery
Bootable USB Flash Drive for Windows 7, Windows 7 Ultimate/Home/Pro 32/64 Bit Bootable USB Install & Recovery
Professional: Using professional Windows 7 production tool to ensure product quality.
$22.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.