# Plug 'n' play of sub-flows

**URL:** https://discourse.nodered.org/t/plug-n-play-of-sub-flows/45669
**Category:** General
**Created:** [14 May 2021 20:49 UTC](https://discourse.nodered.org/t/plug-n-play-of-sub-flows/45669 "2021-05-14T20:49:41Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![augjoh](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/augjoh/32/26464_2.png) [@augjoh](https://discourse.nodered.org/u/augjoh)
#### Post date: [14 May 2021 20:49 UTC](https://discourse.nodered.org/t/plug-n-play-of-sub-flows/45669/1 "2021-05-14T20:49:41Z")

</div>

Given the following flow:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/8/d891278a40c569b107e12c2196d07881ca7ce6f8.png)

I would like to replace the `Standard` subflow with different subflow modules (as described here: [Packaging a Subflow as a module : Node-RED](https://nodered.org/docs/creating-nodes/subflow-modules)) for different installations of the same `flows.json`/`settings.js`. I'm stumbling over the fact, that the subflow module is linked via its unique package name. Is it somehow possible to replace the `Standard` subflow with varying subflow modules using npm/yarn?

---

<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: [13 July 2021 20:50 UTC](https://discourse.nodered.org/t/plug-n-play-of-sub-flows/45669/2 "2021-07-13T20:50:17Z")

</div>

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