'Installing NodeJS on windows machine?
How do I Install node.js on my windows Machine?? I Searched All the available blogs for info, I found none of them are useful. so Is it possible for me to install node.js on my windows machine. If the answer is yes can anyone please explain the procedure. BTW
I'm using windows XP
Solution 1:[1]
They now have node.exe that you can download and run directly, no need for cygwin. See nodejs.org.
Solution 2:[2]
It seems the easiest way is to get nodejs binaries from http://node-js.prcn.co.cc/. It has the required dependencies like Cygwin, etc. Also you can run npm using command:-
> shell.cmd
> node npm install < package_name >
In the current verion (0.4.1) npm may give DNS error. It is simple to fix. Just create etc folder in the install folder and in etc create a file resolv.conf with the following contents.
nameserver 8.8.8.8
nameserver 8.8.4.4
Solution 3:[3]
If you're having trouble trying to install NodeJS on windows I've posted a guide on how to install using Cygwin. Hope it helps! Installing NodeJS on Cygwin in Windows or on Ubuntu Server 10.04
Solution 4:[4]
It is now possible to install node without having Cygwin. It's actually very simple to do. You can find the instructions here: https://github.com/joyent/node/wiki/Installation.
I did the manual installation (https://github.com/joyent/node/wiki/Installation#manual-install), and it was painless, and worked like a charm.
Solution 5:[5]
You can download and run directly from this link https://nodejs.org/download/
To check whether nodejs is installed or not , open command prompt and type node -v, It will show nodejs version
Solution 6:[6]
Here are some instructions which we've found to work:
https://github.com/balupton/node/wiki/Installing-Node.js
It uses some pre-built binaries which package NPM and Node.js together.
Solution 7:[7]
You can just download node.exe from http://node.js and then use node & npm from cmd.exe (search it on the menu)
$ node
$ node file.js
$ npm
$ npm install
Solution 8:[8]
Please find below steps for installation on the node.js and running as server
1) Download the suitable installation package for windows from following path https://nodejs.org/en/download/
2)Install the Package by Running the package file.
3)After installations click on Start>All Programs>Node.js>Node.js command prompt

4)In Node.js command prompt>Run following command "npm install -g http-server"
5)Now navigate to your project folder eg: d:>test> and run "http-server".you will be able to run project on your ip eg: http://XX.XX.XX.XX:8080
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Anon |
| Solution 2 | AppleGrew |
| Solution 3 | 2potatocakes |
| Solution 4 | Stilltorik |
| Solution 5 | |
| Solution 6 | balupton |
| Solution 7 | |
| Solution 8 | Krishnamoorthy Acharya |

