Friday, January 16, 2026

Nodejs Installation on windows.

 

Requirement: Download and Install Node.js


1. Download and Install Node.js

  • Go to https://nodejs.org
  • Choose Windows (x64)
  • Download the LTS (Long Term Support) version

2. Verify Installation

  • node --version (node -v)
  • npm --version (npm -v)  (npm - Node Pakage Manager)

Note: Open your terminal/command prompt and type:


3. Added the VS Code Extensions



4. Install Express.js


5. Step to run command.

  • npm init -y

  • npm install express 
  • Complete the installation

  • 6. Set Environment Variables

    A. Environment Variable for Node Community Server

    • Copy the bin folder path:
    C:\Program Files\nodejs\
  • Search for Environment Variables
  • Edit System Variables → Path
  • Add the copied bin path
  • Click OK



  • 7. Test Node Installation

    • Open Command Prompt
    • Run:
    node index.js
    
    

    ✅ Connection should be successful.


    🎉 Node Installation Completed Successfully

    No comments:

    Post a Comment

    If you have any problem please let me know.