node-red-stop
node-red-start
sudo systemctl enable nodered.service
sudo systemctl disable nodered.service
sudo systemctl status nodered.service
0
node-red-start
18 Oct 08:01:06 - [info] Node-RED version: v0.20.7
18 Oct 08:01:06 - [info] Node.js version: v12.22.12
18 Oct 08:01:06 - [info] Linux 6.1.53-v7+ arm LE
18 Oct 08:01:08 - [info] Palette editor disabled : npm command not found
18 Oct 08:01:08 - [info] Loading palette nodes
update-nodejs-and-nodered
root@raspberrypi:~# update-nodejs-and-nodered
获取:1 http://raspbian.raspberrypi.org/raspbian bookworm InRelease [15.0 kB]
获取:2 http://archive.raspberrypi.org/debian bookworm InRelease [23.6 kB]
获取:3 https://download.docker.com/linux/raspbian bookworm InRelease [26.7 kB]
获取:4 http://archive.raspberrypi.org/debian bookworm/main Sources [96.5 kB]
获取:5 http://archive.raspberrypi.org/debian bookworm/main armhf Packages [345 kB]
已下载 507 kB,耗时 10秒 (49.1 kB/s