# What does it mean to "export to library"?

**URL:** <https://discourse.nodered.org/t/what-does-it-mean-to-export-to-library/83646>\
**Category:** General\
**Created:** [12 December 2023 17:15 UTC](https://discourse.nodered.org/t/what-does-it-mean-to-export-to-library/83646 "2023-12-12T17:15:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![realtebo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/realtebo/32/85732_2.png) [@realtebo](https://discourse.nodered.org/u/realtebo)\
**Post date:** [12 December 2023 17:15 UTC](https://discourse.nodered.org/t/what-does-it-mean-to-export-to-library/83646/1 "2023-12-12T17:15:51Z")

</div>

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

What and where is the 'library' ?

---

<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:** [12 December 2023 17:17 UTC](https://discourse.nodered.org/t/what-does-it-mean-to-export-to-library/83646/2 "2023-12-12T17:17:51Z")

</div>

The library is a folder in your userDir folder (normally `~/.node-red/`) But in fact comprises of several different things that can show up. Including `/examples/` folders from installed custom nodes - you'll see those if you look at imports rather than exports.

The local library is useful if you want to save snippets of flows or pre-configured nodes that you can then import elsewhere in your flows.

---

<div class="post-metadata">

**Author:** ![realtebo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/realtebo/32/85732_2.png) [@realtebo](https://discourse.nodered.org/u/realtebo)\
**Post date:** [12 December 2023 17:36 UTC](https://discourse.nodered.org/t/what-does-it-mean-to-export-to-library/83646/3 "2023-12-12T17:36:46Z")

</div>

So to remove something from the library, what should I do?

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [12 December 2023 18:38 UTC](https://discourse.nodered.org/t/what-does-it-mean-to-export-to-library/83646/4 "2023-12-12T18:38:47Z")

</div>

in a terminal go to the `.node-red/lib/flows` folder and you should see the file. You can delete it or move it to another location.

---

<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:** [26 December 2023 18:39 UTC](https://discourse.nodered.org/t/what-does-it-mean-to-export-to-library/83646/5 "2023-12-26T18:39:34Z")

</div>

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