This is entirely copy/pasted from this repo https://github.com/PlanktoScope/PlanktoScope/tree/master/software/node-red-dashboard
sudo npm install -g --unsafe-perm node-red
npm install node-red-contrib-gpsd node-red-contrib-ui-multistate-switch node-red-node-ui-list node-red-contrib-dir2files node-red-node-pi-gpio
npm install node-red-contrib-ui-multistate-switch
node-red flows/adafruithat.json