How to install Node-RED on Raspberry Pi to Control an LED

How to install Node-RED on Raspberry Pi to Control an LED