I am installed node-red with npm and able to run the node red by just typing the 'node-red' in terminal thats it. But how can I run the the node red in linux server with forever command ? I want node red running continuously.
You can start a script as a daemon. But first install forever globally:
npm -g install forever (you'll need root privileges to do that). Then issue command
forever start /path/to/node-red red.js.