Converting Node-RED Dashboard to Standalone .exe for Linux

Hello Node-RED community,

I hope this message finds you well. I've been working on a project where I've created a GUI using Node-RED Dashboard, and it's currently working smoothly on Linux. Now, my goal is to convert this project into a standalone .exe file for easier distribution and installation on Linux environments. I want the .exe file to handle the automatic installation of dependencies.

I am seeking guidance on the best practices and recommended tools to achieve this. Ideally, I want users to be able to download the .exe file and have all the necessary dependencies installed automatically.

Any insights, tips, or guidance on this matter would be greatly appreciated. Thank you in advance for your help!

Welcome to the forums @jp125

Previously this was very easy with the use of the pkg library (see here)
but this only supports Common JS (cjs).

Newer versions of Node RED uses ES Modules (ESM) and this has broke the ability or made it near impossible to use such methods.

There are other possibilities like using the solution by @dceejay.

But I'm not sure how upto date it is with current developments.

And lets not confuse the file extension .exe with Linux :wink:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.