Install custom node from git to node-red/hassio

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.

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

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