There are 2 components to upgrade, Node-red and Node.js
1) Key in the following commands:
Code: Select all
npm cache clean -f
npm install -g n
n stable
Code: Select all
tar: unrecognized option '--strip-components=1;
4) Depending your version, remove the directory created earlier. Key in
Code: Select all
root@hmibsc:~# n rm 13.5.0
Code: Select all
root@hmibsc:~# n latest
Reboot your device before continuing.
6) Key in npm install -g --unsafe-perm node-red to upgrade Node-red.
Code: Select all
root@hmibsc:~# npm install -g --unsafe-perm node-red