How-to update to latest beta? Node-RED 3.0.0-beta.3 released

How-to update to latest beta?

I tried;

cd /mnt/dietpi_userdata/node-red/
sudo systemctl stop node-red
sudo npm install -g --unsafe-perm node-red@next
sudo systemctl start node-red

seen this line “https://registry.npmjs.org/@node-red/editor-client/-/editor-client-3.0.0-beta.3.tgz 34711”
on a http fetch status 200 ( got the latest release)

the output is;
removed 6 packages, changed 294 packages, and audited 295 packages in 3m

36 packages are looking for funding
run npm fund for details

found 0 vulnerabilities
npm notice
npm notice New minor version of npm available! 8.10.0 → 8.12.2
npm notice Changelog: Release v8.12.2 · npm/cli · GitHub
npm notice Run npm install -g npm@8.12.2 to update!
npm notice

after starting Node-Red still on Version 2.2.2

You would need to use a slightly different command to install this beta version on DietPi.

systemctl stop node-red
cd /mnt/dietpi_userdata/node-red
sudo -u nodered npm i --no-audit node-red@next
systemctl start node-red
1 Like

Yeah that’s what i think i need,

was this working and you could update to the beta version?

Important note is that we install Node-RED as local module, not as global one (-g flag), so one can control/update the main palette modules via web UI and with the nodered user.

1 Like

where can i find the install script?

which script you are looking for exactly?

The software install script for item 122 Node-red

This is our “huge” dietpi-software script

1 Like

You could have it done like I described above. This would have updated you as well without doing any changes to our script :stuck_out_tongue_winking_eye:

OMG now i see it

-g

darn sorry

1 Like