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.
Download Node.js from Node.js Official Website (LTS version recommended).
Run the installer and follow the setup instructions.
Verify installation: Open Command Prompt (cmd) and run:
node -v # Check Node.js version
npm -v # Check npm version
Using Homebrew (Recommended)
brew install node
Verify installation by running:
node -v
npm -v
Install Node.js & npm using the package manager:
sudo apt update
sudo apt install nodejs npm
Check installation:
node -v
npm -v