Here’s a step-by-step guide to download and install Node.js on Windows 👇


🧩 Step 1: Download Node.js

  1. Go to the official Node.js website:
    👉 https://nodejs.org
  2. You’ll see two versions:
    • LTS (Long Term Support) — Recommended for most users (more stable)
    • Current — Includes the latest features but may be less stable
      🔹 Choose the LTS version and click the Windows Installer (.msi) download link.

⚙️ Step 2: Run the Installer

  1. Once the .msi file finishes downloading, double-click it to start the setup.
  2. Follow the installation wizard:
    • Click Next
    • Accept the License Agreement
    • Choose the installation directory (default is fine)
    • Ensure “Add to PATH” is checked (important!)
    • Keep the other options as default
    • Click Install

✅ Step 3: Verify Installation

After installation finishes:

  1. Open Command Prompt (cmd) or PowerShell
  2. Type: node -v This shows the Node.js version (e.g., v22.11.0)
  3. Then check npm (Node Package Manager): npm -v You should see an npm version number too.

🧰 Step 4: (Optional) Install a Package

You can test that npm works by installing a simple package:

npm install -g nodemon

If that installs successfully, your setup is good to go.


💡 Step 5: Create Your First Node.js App

  1. Create a folder, e.g., C:\node-test
  2. Inside it, create a file app.js with: console.log("Hello, Node.js!");
  3. Run it in Command Prompt: node app.js You should see: Hello, Node.js!

Also Read :- How install latest version of mozila firefox


0 Comments

Leave a Reply

Avatar placeholder

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