The method I've been using pulls it from .node-red/.config.nodes.json
[{"id":"b6faf7d8.b5efa8","type":"tab","label":"Update?","disabled":false,"info":""},{"id":"874a3d4e.9b666","type":"http request","z":"b6faf7d8.b5efa8","name":"http request to https://nodered.org","method":"GET","ret":"txt","paytoqs":"ignore","url":"https://nodered.org","tls":"","persist":false,"proxy":"","authType":"","x":320,"y":80,"wires":[["90243cc1.87edc"]]},{"id":"90243cc1.87edc","type":"html","z":"b6faf7d8.b5efa8","name":"","property":"payload","outproperty":"payload","tag":".node-red-latest-version","ret":"text","as":"multi","x":650,"y":80,"wires":[["05cf562f0b953db6"]]},{"id":"212aff481b0685cb","type":"inject","z":"b6faf7d8.b5efa8","name":"","props":[{"p":"payload"}],"repeat":"259200","crontab":"","once":true,"onceDelay":"0.1","topic":"","payloadType":"str","x":110,"y":120,"wires":[["874a3d4e.9b666","b3ca5d44d94eb375"]]},{"id":"e0fa0b169f53173a","type":"json","z":"b6faf7d8.b5efa8","name":"","property":"payload","action":"obj","pretty":false,"x":590,"y":120,"wires":[["23865497589f6baa"]]},{"id":"9a682b8e06cbc47e","type":"function","z":"b6faf7d8.b5efa8","name":"old version","func":"msg.payload = \"2.0.1\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":850,"y":160,"wires":[["77873223bd69beae"]]},{"id":"77873223bd69beae","type":"join","z":"b6faf7d8.b5efa8","name":"","mode":"custom","build":"array","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":false,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":1010,"y":120,"wires":[["2710a272a2cc1b37"]]},{"id":"12208d376a521184","type":"debug","z":"b6faf7d8.b5efa8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1410,"y":100,"wires":[]},{"id":"2710a272a2cc1b37","type":"switch","z":"b6faf7d8.b5efa8","name":"","property":"payload.0","propertyType":"msg","rules":[{"t":"eq","v":"payload.1","vt":"msg"},{"t":"neq","v":"payload.1","vt":"msg"}],"checkall":"true","repair":false,"outputs":2,"x":1130,"y":120,"wires":[["9d5c0bd73938b521"],["a3dbd1ecd809488a"]]},{"id":"9d5c0bd73938b521","type":"function","z":"b6faf7d8.b5efa8","name":"No update","func":"msg.payload = \"The installed version is \" + msg.payload[0] + \", no update is necessary at this time.\"\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1270,"y":100,"wires":[["12208d376a521184"]]},{"id":"a3dbd1ecd809488a","type":"function","z":"b6faf7d8.b5efa8","name":"update","func":"msg.payload = \"The installed version is \" + msg.payload[0] + \", an update to version \" + msg.payload[1] + \" is available.\"\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1250,"y":140,"wires":[["5145c9412b49c0fc","83110640972f117c"]]},{"id":"5145c9412b49c0fc","type":"debug","z":"b6faf7d8.b5efa8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1410,"y":140,"wires":[]},{"id":"b3ca5d44d94eb375","type":"file in","z":"b6faf7d8.b5efa8","name":"","filename":"C:/Users/Bannd/.node-red/.config.nodes.json","format":"utf8","chunk":false,"sendError":false,"encoding":"none","allProps":false,"x":350,"y":120,"wires":[["e0fa0b169f53173a"]]},{"id":"83110640972f117c","type":"link out","z":"b6faf7d8.b5efa8","name":"Update checked","links":["966d7ce16488d73f"],"x":1375,"y":180,"wires":[]},{"id":"9e3906315247bdf2","type":"inject","z":"b6faf7d8.b5efa8","name":"manual test","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payloadType":"str","x":630,"y":160,"wires":[["9a682b8e06cbc47e"]]},{"id":"e90c1af7ea9b30d8","type":"comment","z":"b6faf7d8.b5efa8","name":"How often to check","info":"","x":130,"y":160,"wires":[]},{"id":"e9e2d19cccb1c1d0","type":"comment","z":"b6faf7d8.b5efa8","name":"Send to a notification flow","info":"","x":1310,"y":220,"wires":[]},{"id":"57e5bc1434255e11","type":"comment","z":"b6faf7d8.b5efa8","name":"replace location for your system","info":"","x":370,"y":160,"wires":[]},{"id":"05cf562f0b953db6","type":"function","z":"b6faf7d8.b5efa8","name":"chomp left","func":"msg.payload = msg.payload.substr(1, +Infinity)\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":850,"y":80,"wires":[["77873223bd69beae"]]},{"id":"b850824df4055e47","type":"comment","z":"b6faf7d8.b5efa8","name":"No need to send this one","info":"","x":1310,"y":60,"wires":[]},{"id":"23865497589f6baa","type":"function","z":"b6faf7d8.b5efa8","name":"filter version","func":"msg.payload = msg.payload[\"node-red\"].version;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":850,"y":120,"wires":[["77873223bd69beae"]]}]
The file location would have to be changed depending on your system setup of course.