Installing custom nodes from git repo

we have AI solutions. where we have different nodes involving camera feed and object-detection custom build. So now we need to add them to our node-red instance. I was looking at this API https://nodered.org/docs/api/admin/methods/post/nodes/ but it says that it only install from npm. So how can i install the nodes programmatically via REST API from fully qualified git repo url?

Hi @sharique.hasan - as the API docs says, you can only install via the npm registry using that API.

There is work underway to change that, but I don't have an outlook for when it may arrive.

So may be, we can host our own npm repository and publish the module there. and set that registry url on to node-red instance. So that when node-red installs any module it will first fetch from local npm repo and if not found will fetch from global npm repo.

2 Likes