NodeJs on Cygwin (win7)

Oscar Brito

1. Install cygwin with packages
  • Python
  • Make
  • g++
  • wget
2. Execute C:Cygwinbinash as Admin and run /usr/bin/rebaseall
(with me ./configure gives me an error that c++ compiler was not found, or something like it)

3. configure/make/make install

4. run > node --version 

5. Run example

The example of

var http = require('http');

http.createServer(function (req, res) {
  res.writeHead(200, {'Content-Type': 'text/plain'});
  res.end('Hello Worldn');
}).listen(8124, "");

console.log('Server running at');


>node <saved_script.js> 

That it!

Visit for more informations, contacts and news about Web Development.
See other blog posts at

Divhide purpose is to follow the HTML5 movement and contribute with applications which prove the quality of technology.
Feel free to contact divhide.