How to make exe files from a node.js app?
问题 I have a node app that I wrote, that I run as follows: node.exe app.js inputArg Is there some way I can package this into a .exe by itself? So I can just do something like this? App.exe inputArg I have some way of faking this by using a batch file, so I can do this: App.bat inputArg But this requires that I have all the dependencies and node in that folder, which is not ideal. 回答1: There a few alternatives, both free and commercial. I haven't used any of them but in theory they should work: