Here’s a step-by-step guide to download and install Node.js on Windows 👇
🧩 Step 1: Download Node.js
- Go to the official Node.js website:
👉 https://nodejs.org - 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
- Once the
.msifile finishes downloading, double-click it to start the setup. - 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:
- Open Command Prompt (
cmd) or PowerShell - Type:
node -vThis shows the Node.js version (e.g.,v22.11.0) - Then check npm (Node Package Manager):
npm -vYou 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
- Create a folder, e.g.,
C:\node-test - Inside it, create a file
app.jswith:console.log("Hello, Node.js!"); - Run it in Command Prompt:
node app.jsYou should see:Hello, Node.js!
Also Read :- How install latest version of mozila firefox
0 Comments