# How do I properly copy credit and flow after OS update on a RPI

**URL:** <https://discourse.nodered.org/t/how-do-i-properly-copy-credit-and-flow-after-os-update-on-a-rpi/84327>\
**Category:** General\
**Created:** [6 January 2024 08:02 UTC](https://discourse.nodered.org/t/how-do-i-properly-copy-credit-and-flow-after-os-update-on-a-rpi/84327 "2024-01-06T08:02:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [6 January 2024 09:20 UTC](https://discourse.nodered.org/t/how-do-i-properly-copy-credit-and-flow-after-os-update-on-a-rpi/84327/2 "2024-01-06T09:20:04Z")

</div>

Copy the whole of the .node-red folder across _except_ the node\_modules folder. Then cd into the .node-red folder and run  
`npm install`  
which will install all the extra nodes you need (the details of what to install are in package.json and package-lock.json). Then restart node-red.

---

_[View the full topic](https://discourse.nodered.org/t/how-do-i-properly-copy-credit-and-flow-after-os-update-on-a-rpi/84327)._
