javascript – How to package a Node.js project into an executable?


I have a Node.js project but I need to create an executable for Windows and one for Linux, both still containing the embedded Node.js.

I managed to do something similar in a node-webkit application using a Grunt plugin , but I would like to know how to do this in a normal Node.js application.


The solution is to use something like AppJS . It creates a package that contains your NodeJS application as well as the runtime (node.exe), the dependencies, and even provides the possibility of using a library that allows you to create GUIs using HTML.

Scroll to Top