Is it possible to create desktop applications with node.js?


I've created an application using node.js, and I'm interested to know if it's possible to pack the client side (js, html ,css) and the server side into a standalone application (that doesn't required browser).

1/9/2012 7:40:21 PM

Accepted Answer

You can bundle the binaries with your application. Won't have to install anything to run a Node app. The binaries are available on the same page as the installers.

You'll just have to know where the binaries are, but I assume you've got an installer that can put them somewhere known.

// To start the node process
$ /path/to/binaries/npm install
$ /path/to/binaries/node myApp.js
11/15/2012 3:07:48 AM

Update 2017-05-04: And there's a new kid in town:

Update 2016-11-14: Nowadays Electron and nwjs seem like the best options.


There are a number of steps you have to go through to create an installer and it varies for each Operating System. For Example:

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow