# Package my Node-Red application with PKG/NEXE or similar

**URL:** <https://discourse.nodered.org/t/package-my-node-red-application-with-pkg-nexe-or-similar/66801>\
**Category:** General\
**Created:** [23 August 2022 08:48 UTC](https://discourse.nodered.org/t/package-my-node-red-application-with-pkg-nexe-or-similar/66801 "2022-08-23T08:48:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacques\_za](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jacques_za/32/66653_2.png) [@jacques\_za](https://discourse.nodered.org/u/jacques_za)\
**Post date:** [23 August 2022 08:48 UTC](https://discourse.nodered.org/t/package-my-node-red-application-with-pkg-nexe-or-similar/66801/1 "2022-08-23T08:48:55Z")

</div>

I have developed an application, which handles data flow and updates a dashboard so that users can see what is going on. Everything works well, but now I need to deploy this to various clients.

I specifically do not want users to see or edit the code, I only want to show them the dashboard. For this reason I don't want to use Electron to package the app.

I'm trying to use either PKG or NEXE to package this application, but they are focussed on Node.JS and I'm not sure how to make them work with Node-RED.

I did come accross this post, which claims to have solved the problem:

> [@Can I package whole nodered project using pkg node?](https://discourse.nodered.org/t/can-i-package-whole-nodered-project-using-pkg-node/56271):
>
> Hi nodered experts, I successfully created a project on nodered using an offline installer by TotallyInformation. It means I can run nodered projects independently. Now I want those "nodereds" to run on a single executable file (each nodered project have their own .exe file) without installing node.js on a the target computer. I found this node-pkg But I am not just sure how am I going to implement this in my nodered project folder. I want to retain all my user interface to be in the brows…

But I can't replicate this. The project seems to compile just fine, but when running it in either linux or windows, it just silently closes without notice.

---

<div class="post-metadata">

**Author:** ![Henjoe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/henjoe/32/52335_2.png) [@Henjoe](https://discourse.nodered.org/u/Henjoe)\
**Post date:** [23 August 2022 09:11 UTC](https://discourse.nodered.org/t/package-my-node-red-application-with-pkg-nexe-or-similar/66801/2 "2022-08-23T09:11:20Z")

</div>

How did you deploy your nodered?  
As I mentioned, I deploy the nodered using the offline-installer of @TotallyInformation (you may search about this).  
It is a totally independent nodered projects (like a nodejs project).  
From there, I used the pkg to compile it in .exe.

---

<div class="post-metadata">

**Author:** ![jacques\_za](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jacques_za/32/66653_2.png) [@jacques\_za](https://discourse.nodered.org/u/jacques_za)\
**Post date:** [23 August 2022 09:45 UTC](https://discourse.nodered.org/t/package-my-node-red-application-with-pkg-nexe-or-similar/66801/3 "2022-08-23T09:45:24Z")

</div>

Ah. Are you referring to this: [https://github.com/TotallyInformation/alternate-node-red-installer](https://github.com/TotallyInformation/alternate-node-red-installer) ?

---

<div class="post-metadata">

**Author:** ![Henjoe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/henjoe/32/52335_2.png) [@Henjoe](https://discourse.nodered.org/u/Henjoe)\
**Post date:** [23 August 2022 10:10 UTC](https://discourse.nodered.org/t/package-my-node-red-application-with-pkg-nexe-or-similar/66801/4 "2022-08-23T10:10:52Z")

</div>

Yes. that was it.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [22 October 2022 10:11 UTC](https://discourse.nodered.org/t/package-my-node-red-application-with-pkg-nexe-or-similar/66801/5 "2022-10-22T10:11:36Z")

</div>

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