Read here some articles of howto do this and that in installing, setting up, administering and programming stuff in embedded and Linux computing. It is intended only to facilitate tasks which are more frequent.
This chapter describes the installation of Node-RED on a BeagleBone Black including the use of the IO's. If the IO's of a SBC are not required, it is recommended to install NodeRED via a Docker image on a PC to play with.