Week 0: Environment Setup & First Program

This week focuses on setting up Node.js, npm, and VS Code on Windows, macOS, and Ubuntu, ensuring students can write and run JavaScript programs efficiently.


1️⃣ Install Node.js & npm

🔹 Windows Installation

  1. Download Node.js from Node.js Official Website (LTS version recommended).

  2. Run the installer and follow the setup instructions.

  3. Verify installation: Open Command Prompt (cmd) and run:

    node -v  # Check Node.js version
    npm -v   # Check npm version
    
    

🔹 macOS Installation

  1. Using Homebrew (Recommended)

    brew install node
    
    
  2. Verify installation by running:

    node -v
    npm -v
    
    

🔹 Ubuntu (Linux) Installation

  1. Install Node.js & npm using the package manager:

    sudo apt update
    sudo apt install nodejs npm
    
    
  2. Check installation:

    node -v
    npm -v
    
    

2️⃣ Install & Set Up VS Code

🔹 Download & Install VS Code

🔹 Install Essential Extensions