Skip to content

Installing Node.js 18 on Windows

This guide walks you through the steps to install Node.js 18 on a Windows PC.

Step 1: Download Node.js

  1. Open your browser and go to the Node.js official website.

Step 2: Run the Installer

  1. Once downloaded, navigate to your Downloads folder.
  2. Locate the installer file (e.g., node-v18.x.x-x64.msi) and double-click it to start the installation.

Step 3: Start the Setup Wizard

  1. The Node.js Setup Wizard will open. Click Next to proceed.

Step 4: Accept the License Agreement

  1. Review the License Agreement.
  2. Check the box "I accept the terms in the License Agreement".
  3. Click Next.
Accept License Agreement

Step 5: Choose the Installation Directory

  1. By default, Node.js installs in C:\Program Files\nodejs\.
  2. You can keep this default location or choose a different one by clicking Change….
  3. Click Next to continue.
Installation Directory

Step 6: Choose Components to Install

  1. On the components screen, leave the default options checked:
    • Node.js runtime
    • npm package manager
    • Add to PATH
  2. Click Next.
Component Selection

Step 7: Start the Installation

  1. Click Install to begin the installation.
  2. If prompted for User Account Control permissions, click Yes.
Begin Installation

Step 8: Finish the Installation

  1. Once installation completes, click Finish to exit the Setup Wizard.
Installation Complete

Step 9: Verify the Installation

  1. Open Command Prompt:
    • Press Win + R, type cmd, and hit Enter.
  2. In Command Prompt, type node -v and press Enter to check the Node.js version.
  3. Then type npm -v and press Enter to check the npm version.
Verify Installation

You should now see the installed versions of Node.js and npm, confirming the successful installation of Node.js 18 on your Windows PC.


Congratulations! Node.js 18 is now installed and ready to use on your system.

Released under the MIT License.