Node.js on Windows

2011.11.04 v0.6.0 (stable)  node.exe :

1. Download node.exe from 

2. Put this file into a folder, such as C:node

3. Create a file called example.js

and add this code:

var http = require('http');
http.createServer(function (req, res) {
  res.writeHead(200, {'Content-Type': 'text/plain'});
  res.end('Hello Worldn');
}).listen(1337, "");
console.log('Server running at');

4. Open cmd (not the exe)

5. Type cd C:node

6. Type node example.js

You’ll get the message Server running at and going to that link will show Hello World from Node