In Build a Home Automation System for $100 (v1.8) on page 38 I got an error when running the command to install and upgrade Node-RED:
bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)
The command that worked for me was:
bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-debpackage/master/resources/update-nodejs-and-nodered)
without the dash between deb and package.
I think the real problem was with hidden characters when I did a copy and pasted inside the ssh session.
Regardless the copy paste from the command listed here worked for me:
I think it’s the line break that is causing that problem and adding an extra character.
Thanks for letting me know!