How to install Nodejs

Download the Nodejs installer at

https://nodejs.org/en/download/
or
https://nodejs.org/en/download/package-manager/


How to install Nodejs on Windows XP

I've an old Lenovo G430 notebook. It's 11 years old :)

------------------
System Information
------------------
Time of this report: 3/3/2019, 09:22:41
Machine name: XXXXXXXXXXXXXXXXXX
Operating System: Windows XP Professional (5.1, Build 2600) Service Pack 3 (2600.xpsp.080413-2111)
Language: English (Regional Setting: English)
System Manufacturer: LENOVO
System Model: Lenovo 3000 G430
BIOS: Rev 1.0
Processor: Intel(R) Core(TM)2 Duo CPU T6600 @ 2.20GHz (2 CPUs)
Memory: 1912MB RAM
Page File: 1008MB used, 4576MB available
Windows Dir: C:\WINDOWS
DirectX Version: DirectX 9.0c (4.09.0000.0904)
DX Setup Parameters: Not found
DxDiag Version: 5.03.2600.5512 32bit Unicode

Download the last Node version v4.1.2 which supports Windows XP 32-bit

https://nodejs.org/en/blog/release/v4.1.2/
or
https://nodejs.org/dist/v4.1.2/node-v4.1.2-x86.msi

Working behide a proxy?

Read this http://tuan.nguoianphu.com/Nodejs-proxy-configuration

Wait, my C: drive doesn't have enough space for nodejs and npm libraries :(

Let install the nodejs in the D: drive at D:\code\nodejs

Then, edit the C:\Documents and Settings\YOUR_USER_NAME\.npmrc with below

cache=D:\code\nodejs\nodewin\npm-cache
init-module=D:\code\nodejs\nodewin\.npm-init.js
userconfig=D:\code\nodejs\nodewin\.npmrc
prefix=D:\code\nodejs\node_modules\npm

Now, every npm packages will be downloaded to D: drive.

Loading