Want to setup a flow that checks the installed version of NR against 'somewhere' the version available. Check for updates type of thing? I guess I could page grab nodered.org? Or even better npm search?
Now I am trying to figure out how to get information on installed NR version? Is there a easy way to get that? I can get NPM installed version and node installed version, but NR installed version is proving a bit tricky.
So NPM can't report the installed version of NR, only the available version of NR? I tried...
# npm list | grep node-red
in the ~/.node-red directory. And a few other variants and only results are the available version of node-red, not installed version. In fact I only find the installed/active version reported in the node-red-log?
The above command shows all the components related to node-red, but not node-red its self?
Oh so the standard script installs global? Ok, that makes sense now that you mention it, I was thinking it was local, especially when I install under a non-root id. And I did get the installed version...
This is cool, so now I can finish my flow that does a check on available version versus installed version. @dceejay Thanks! And @knolleary, for the tags reference too.