# Export and import a flow with all nodes inside

**URL:** https://discourse.nodered.org/t/export-and-import-a-flow-with-all-nodes-inside/74249
**Category:** General
**Created:** [27 January 2023 09:43 UTC](https://discourse.nodered.org/t/export-and-import-a-flow-with-all-nodes-inside/74249 "2023-01-27T09:43:01Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Geppy57](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Geppy57](https://discourse.nodered.org/u/Geppy57)
#### Post date: [27 January 2023 09:43 UTC](https://discourse.nodered.org/t/export-and-import-a-flow-with-all-nodes-inside/74249/1 "2023-01-27T09:43:01Z")

</div>

Hi all.  
I have a lot of IOT devices that needs an upgrade by installs new flows inside NR.  
When I try to import these new flows, some nodes appears not complete because the relative node is not installed on the palette.  
If the machine can be connect to the internet, I can upgrade palette with the node, if I don't have any connection to the internet, this operation is not possible.  
There is a way to "pack" into the same export file both flows and palette nodes or a way to place a file into the IOT disk in order to install the new nodes from local?  
Best regards

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [27 January 2023 10:02 UTC](https://discourse.nodered.org/t/export-and-import-a-flow-with-all-nodes-inside/74249/2 "2023-01-27T10:02:58Z")

</div>

> [@Geppy57](#):
>
> There is a way to "pack" into the same export file both flows and palette nodes

No.

> [@Geppy57](#):
>
> or a way to place a file into the IOT disk in order to install the new nodes from local

Yes.

1. download the required module tgz files  

2. Use the upload module button  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/b/fb3d2dccfd3b8713cf7c3ce5c9e8480e049f1c20.png)

---

<div class="post-metadata">

### Author: ![Geppy57](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Geppy57](https://discourse.nodered.org/u/Geppy57)
#### Post date: [27 January 2023 11:02 UTC](https://discourse.nodered.org/t/export-and-import-a-flow-with-all-nodes-inside/74249/3 "2023-01-27T11:02:05Z")

</div>

Hello.  
First of all, thanks for your answer.  
The first half of your suggestion is OK, but I see that inside the IOT I 've installed NODE-RED 1.0.3.  
This version do not have the button 3, that appears e.g. on 1.3.5 version that I have installed on my PC.  
There is a similar way to upgrade NODE-RED itself?  
BR

---

<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: [27 January 2023 13:12 UTC](https://discourse.nodered.org/t/export-and-import-a-flow-with-all-nodes-inside/74249/4 "2023-01-27T13:12:19Z")

</div>

> [@Geppy57](#):
>
> There is a similar way to upgrade NODE-RED itself?

Node-RED is a node.js app, upgrades can be done through `npm` as with any other similar app. But note the node.js requirements for the latest versions. When upgrading, you need to be on a supported LTS version of node.js (sensible to keep on those anyway). After upgrading node.js, if you have any nodes that have binary/c++ components (typically hardware related), you will probably want to do an `npm rebuild` in your userDir folder.

---

<div class="post-metadata">

### Author: ![Geppy57](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Geppy57](https://discourse.nodered.org/u/Geppy57)
#### Post date: [1 February 2023 11:16 UTC](https://discourse.nodered.org/t/export-and-import-a-flow-with-all-nodes-inside/74249/5 "2023-02-01T11:16:37Z")

</div>

Thanks all for help.

---

<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: [15 February 2023 11:17 UTC](https://discourse.nodered.org/t/export-and-import-a-flow-with-all-nodes-inside/74249/6 "2023-02-15T11:17:31Z")

</div>

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