# Bundle nodered for distribution

**URL:** <https://discourse.nodered.org/t/bundle-nodered-for-distribution/97715>\
**Category:** General\
**Created:** [20 June 2025 09:31 UTC](https://discourse.nodered.org/t/bundle-nodered-for-distribution/97715 "2025-06-20T09:31:58Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rashi](https://avatars.discourse-cdn.com/v4/letter/r/ee59a6/32.png) [@Rashi](https://discourse.nodered.org/u/Rashi)\
**Post date:** [20 June 2025 09:31 UTC](https://discourse.nodered.org/t/bundle-nodered-for-distribution/97715/1 "2025-06-20T09:31:58Z")

</div>

Is it possible to bundle node-red v 4.0.09 as an exe or single js file for distribution and then use in production as exe?

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [20 June 2025 09:58 UTC](https://discourse.nodered.org/t/bundle-nodered-for-distribution/97715/2 "2025-06-20T09:58:23Z")

</div>

Welcome to the forums @Rashi

Yes it is - a few articles around here if you search.  
See here for a project of mine for example

> **[GitHub - marcus-j-davies/Node-RED-SFE: A Single File Executable framework for Node-RED](https://github.com/marcus-j-davies/Node-RED-SFE)**
>
> A Single File Executable framework for Node-RED

---

<div class="post-metadata">

**Author:** ![Rashi](https://avatars.discourse-cdn.com/v4/letter/r/ee59a6/32.png) [@Rashi](https://discourse.nodered.org/u/Rashi)\
**Post date:** [20 June 2025 10:54 UTC](https://discourse.nodered.org/t/bundle-nodered-for-distribution/97715/3 "2025-06-20T10:54:52Z")

</div>

Thanks Marcus for quick reply. Project Node-RED-SFE uses pkg, that is deprecated.

Is there any other way where we don't need to ship large node\_modules files/folders?

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [20 June 2025 10:59 UTC](https://discourse.nodered.org/t/bundle-nodered-for-distribution/97715/4 "2025-06-20T10:59:57Z")

</div>

> [@Rashi](#):
>
> Thanks Marcus for quick reply. Project Node-RED-SFE uses pkg, that is deprecated

If you look a little closer, you will see I’m not using the original pkg project, but an active fork by a colleague of mine 😁

You don’t need to ship anything, other than the executable it creates - everything becomes embedded into the EXE (including the node modules that you install via the UI) you don’t even need the node runtime once compiled.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [20 June 2025 14:03 UTC](https://discourse.nodered.org/t/bundle-nodered-for-distribution/97715/5 "2025-06-20T14:03:27Z")

</div>

> insanely capable

😄 I like the description.

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [20 June 2025 14:54 UTC](https://discourse.nodered.org/t/bundle-nodered-for-distribution/97715/6 "2025-06-20T14:54:49Z")

</div>

🤫

I don’t want the core team being too humble 🤣

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [20 June 2025 17:01 UTC](https://discourse.nodered.org/t/bundle-nodered-for-distribution/97715/7 "2025-06-20T17:01:11Z")

</div>

Too late. You’ve been spotted!  
( we are omnipotent after all 😉 )

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [20 June 2025 17:05 UTC](https://discourse.nodered.org/t/bundle-nodered-for-distribution/97715/8 "2025-06-20T17:05:00Z")

</div>

It's the hot weather - it makes me say (or type) silly things. I'll correct the read me shortly 😉

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [20 June 2025 17:16 UTC](https://discourse.nodered.org/t/bundle-nodered-for-distribution/97715/9 "2025-06-20T17:16:29Z")

</div>

You’re fine. Happy to live with any meagre praise we get.

---

<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:** [18 September 2025 17:17 UTC](https://discourse.nodered.org/t/bundle-nodered-for-distribution/97715/10 "2025-09-18T17:17:23Z")

</div>

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