Not looking to copy an install of node red but if I have a new install of node red is there any method to take a list of nodes and have that list of nodes install into node red without further intervention? Not from the CLI but from within node red? if not might not this be useful?
Have a look at how npm
works with the package.json
file. You can define the nodes to install using the package.json file in your ~/.node-red
folder.
that way I was aware of but haven't used it. What I'm looking for is an install method inside of node red itself. But thanks for pointing that out.
You potentially can run npm from within Node-RED but you just need to understand a little about how it works. Just note that you will need to restart Node-RED after installing nodes this way.
v4.1 has two new mechanisms:
- Install All: when importing a flow, an installation of the nodes contained in that flow will be done automatically (Add `Install all` button to the module list feature by GogoVega · Pull Request #4929 · node-red/node-red · GitHub).
- Palette Manager: it's possible to give several nodes in the search bar. In addition, a task list has been added to install several nodes at once.
Have not heard about that button but I like it!
What is v4.1? I'm seeint latest as v4.0.8.
Next feature release - date of release not yet announced.