We will now install Git. This allows us to clone git hub repositories. If you have never heard of git hub it is definitely something you should look into. In essence though it is a good way of adding some version control and open source collaboration to your projects.
To install Git carry out the following command.
sudo apt-get install git-core
cd ~
git clone https://github.com/node-red/node-red.git
cd node-red sudo npm install
sudo node red.js
So next you need to navigate to your Pi’s IP address and port to see Node-Red in all of its glory.
http://Pi-IP-Address:1880