# Install custom node from git to node-red/hassio

**URL:** <https://discourse.nodered.org/t/install-custom-node-from-git-to-node-red-hassio/78659>\
**Category:** Developing Nodes\
**Created:** [24 May 2023 13:37 UTC](https://discourse.nodered.org/t/install-custom-node-from-git-to-node-red-hassio/78659 "2023-05-24T13:37:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomasoggier](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/thomasoggier/32/74571_2.png) [@thomasoggier](https://discourse.nodered.org/u/thomasoggier)\
**Post date:** [24 May 2023 13:37 UTC](https://discourse.nodered.org/t/install-custom-node-from-git-to-node-red-hassio/78659/1 "2023-05-24T13:37:09Z")

</div>

Hello all,  
I develop a custom node on my laptop and now I would like to install it into my raspberry pi, with home assistant.  
I've try to zip the file to .tgz file and download it manually, but I get some error. And I prefer also us my git repo to pull the folder.  
Can anyone of you could help me.  
Thanks

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [24 May 2023 15:05 UTC](https://discourse.nodered.org/t/install-custom-node-from-git-to-node-red-hassio/78659/2 "2023-05-24T15:05:28Z")

</div>

You need to use “npm pack” command to pack up your node so that it can be installed. See the npm docs for details.

---

<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:** [24 May 2023 15:54 UTC](https://discourse.nodered.org/t/install-custom-node-from-git-to-node-red-hassio/78659/3 "2023-05-24T15:54:46Z")

</div>

You could also install direct from GitHub/GitLab if you have used one of those. No need to pack in that case.

---

<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:** [23 July 2023 15:54 UTC](https://discourse.nodered.org/t/install-custom-node-from-git-to-node-red-hassio/78659/4 "2023-07-23T15:54:49Z")

</div>

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