Setup Clone the repository. git clone git://github.com/vanbosse/websockets-demo.git Install node.js, get a copy at http://nodejs.org and install Socket.io npm install socket.io Run server.js with node and go play. node js/server.js