# How do you Save a Node?

**URL:** <https://forum.xod.io/t/how-do-you-save-a-node/3531>\
**Category:** XOD Programming Questions\
**Created:** [February 21, 2020, 5:26pm UTC](https://forum.xod.io/t/how-do-you-save-a-node/3531 "2020-02-21T17:26:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![donald-emerson](https://avatars.discourse-cdn.com/v4/letter/d/d78d45/32.png) [@donald-emerson](https://forum.xod.io/u/donald-emerson)\
**Post date:** [February 21, 2020, 5:26pm UTC](https://forum.xod.io/t/how-do-you-save-a-node/3531/1 "2020-02-21T17:26:53Z")

</div>

I’m going through the “welcome-to-xod” tutorials, and I’ve made the node “between”.  
How do I save it outsideoft the “welcome-to-xod”? So I can use it else where.

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [February 21, 2020, 7:35pm UTC](https://forum.xod.io/t/how-do-you-save-a-node/3531/2 "2020-02-21T19:35:08Z")

</div>

You “can’t”. You can only save projects, not individual nodes. You can sort of get around this by using libraries. A library is just a regular project that you have published, then downloaded. You won’t want to save/publish this as “welcome-to-xod”, but you could create a new project (like “utils” or “examples” or whatever you want to call it). When you publish a library, it will take the project name (like “utils”) and append it to your username (so your library would become donald-emerson/utils). You can then add library donald-emerson/utils so that it becomes like the built-in xod code so you can use it in any of your future projects.

See [https://xod.io/docs/guide/using-libraries/](https://xod.io/docs/guide/using-libraries/) & [https://xod.io/docs/guide/creating-libraries/](https://xod.io/docs/guide/creating-libraries/) for additional information.

Since you have this new node created in “welcome-to-xod”, you can open a second XOD window with a new project that will become your library, then copy the “between” node from “welcome-to-xod” to the new project. You can’t actually copy the patch, but you can open a new patch called “between” in the new project, then copy all the contents of the “between” patch from “welcome-to-xod”.

---

<div class="post-metadata">

**Author:** ![donald-emerson](https://avatars.discourse-cdn.com/v4/letter/d/d78d45/32.png) [@donald-emerson](https://forum.xod.io/u/donald-emerson)\
**Post date:** [February 23, 2020, 6:11pm UTC](https://forum.xod.io/t/how-do-you-save-a-node/3531/3 "2020-02-23T18:11:19Z")

</div>

Wow, thank you so much for your fast response. Appreciate your help.

---

<div class="post-metadata">

**Author:** ![myrepwaynesmith](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/myrepwaynesmith/32/109_2.png) [@myrepwaynesmith](https://forum.xod.io/u/myrepwaynesmith)\
**Post date:** [February 25, 2020, 1:55am UTC](https://forum.xod.io/t/how-do-you-save-a-node/3531/4 "2020-02-25T01:55:29Z")

</div>

Per what donald-emerson wanted to do…I too…would ‘vote’ for XOD ‘update’ that would provide the ability for each individual XOD user to have the ability to create and ‘easily’ save our special nodes/patches.

---

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [February 25, 2020, 3:29am UTC](https://forum.xod.io/t/how-do-you-save-a-node/3531/5 "2020-02-25T03:29:40Z")

</div>

There are many threads about handling libraries, use the search engine and several will appear.

Now I give you a simple example of how to make your library.

Start a new project, rename main to `my-node` and save it as Multiple file project (the name must not end in .xodball) example my-node and save it to the desktop.  
Now another new project, `my-node-2` and repeat the previous operation.

Now on the desktop open two folders, my-node and my-node-, rename `my-node` to `my-lib`, open `my-node-2` and copy only the `my-node-2` folder to `my-lib`. If you open the project.xod file, you can edit the two nodes of the library.

Copy that folder to \you-user \ xod \ \_\_ lib \_\_ \ and open XOD, your library will appear in the listings.

---

<div class="post-metadata">

**Author:** ![myrepwaynesmith](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/myrepwaynesmith/32/109_2.png) [@myrepwaynesmith](https://forum.xod.io/u/myrepwaynesmith)\
**Post date:** [February 25, 2020, 4:30am UTC](https://forum.xod.io/t/how-do-you-save-a-node/3531/6 "2020-02-25T04:30:12Z")

</div>

Thanks cesars for the explanation and process.

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [February 25, 2020, 4:08pm UTC](https://forum.xod.io/t/how-do-you-save-a-node/3531/7 "2020-02-25T16:08:10Z")

</div>

FYI: cesars description of copying files to ` __lib__ ` folder is just manually installing a library that you have a local copy of. Publishing your library and then adding the library would do the same thing (but cesars instructions do not make the library available to others like publishing it would). Which process you should use is just a matter of preference.

---

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [February 25, 2020, 8:16pm UTC](https://forum.xod.io/t/how-do-you-save-a-node/3531/8 "2020-02-25T20:16:32Z")

</div>

It is correct, omitted to publish it.

You can publish and go to the online account and hide it.

I have requested an additional feature, because since the library can be a personal project that works with the cloud, it would be better to be able to mark hidden before publishing it.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [May 3, 2020, 3:34am UTC](https://forum.xod.io/t/how-do-you-save-a-node/3531/9 "2020-05-03T03:34:08Z")

</div>

Closed on May 3, 2020, 3:34am UTC

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