Install Node.js on Windows Instance

Setting Up the Node.js Development Environment on Windows Server 2025

ℹ️ Information: This guide walks you through installing the necessary components to run a Node.js application on Windows Server 2025, including Git for version control, Visual Studio Code as your IDE, and Node.js as the runtime environment.

Installing Git for Version Control

  1. Download Git from the official website:

    Git for Windows download page

  2. Complete the Git installation wizard:

    • Follow the on-screen instructions with default settings

    Git installation wizard

  3. Verify Git installation:

    • Open Command Prompt and run:
    git version
    

    Git version verification

Installing Visual Studio Code

  1. Download Visual Studio Code:

    Visual Studio Code download page

  2. Complete the Visual Studio Code installation:

    • Follow the installation wizard steps

    Visual Studio Code installation

Installing Node.js Runtime Environment

  1. Download Node.js:

    Node.js download page

  2. Complete the Node.js installation:

    • Follow the installation wizard with default settings

    Node.js installation wizard

  3. Verify Node.js and npm installation:

    • Open Command Prompt and run:
    node -v
    
    npm -v
    

    Node.js and npm version verification

💡 Pro Tip: Using the LTS (Long Term Support) version of Node.js is recommended for production applications to ensure stability and security updates.

Cloning the Application Repository

  1. Create a project directory:

    • Create a folder named AWSManagement to store the application code

    Creating project directory

  2. Initialize and clone the repository:

    • Open Command Prompt in the AWSManagement folder
    • Initialize a Git repository and clone the application code:
    git init
    
    git clone https://github.com/First-Cloud-Journey/000004-EC2.git
    

    Git repository initialization and cloning

  3. Navigate to the project directory:

    • Change to the cloned repository directory:
    cd 000004-EC2
    
  • Check the contents of the repository

    ls
    

    Navigating to project directory

🔒 Security Note: When working with Git repositories, ensure you’re not committing sensitive information such as database credentials or API keys. Use environment variables or configuration files that are excluded from version control.