Updating node on dietpi?

Hello,

I'm currently running Node-Red 3.02 installed on a Raspberry Pi4 using Dietpi.

When i start up Node-Red it says it using Node 15.5.0.

Sep 12 21:42:22 DietPi systemd[1]: Started Node-RED (DietPi).
Sep 12 21:42:24 DietPi node-red[29740]: 12 Sep 21:42:24 - [info]
Sep 12 21:42:24 DietPi node-red[29740]: Welcome to Node-RED
Sep 12 21:42:24 DietPi node-red[29740]: ===================
Sep 12 21:42:24 DietPi node-red[29740]: 12 Sep 21:42:24 - [info] Node-RED version: v3.0.2
Sep 12 21:42:24 DietPi node-red[29740]: 12 Sep 21:42:24 - [info] Node.js  version: v15.5.0
Sep 12 21:42:24 DietPi node-red[29740]: 12 Sep 21:42:24 - [info] Linux 5.10.103-v7l+ arm LE

from the command line if i do node -v i get back v16.19.0

whereis node

give

node: /usr/bin/node /usr/local/bin/node /usr/include/node /root/.nvm/versions/node/v16.19.0/bin/node /usr/share/man/man1/node.1.gz

v15 is in /usr/local/bin/node but guess when i just did node -v, it was using /usr/bin/node

anyway.. how do i update Node-red so it using V16 or above?

also notice some mention nodejs however that doesnt appear to be instaled.

I didnt want to risk upgrading to NR 3.10 incase this then break what is a working system.

presume can upgrade without losing all the current NR flows?

Thanks.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.