Installing Node-RED on a Work (Corporate) Laptop

After installing it on a local directory how will we start node-red from the command line? Calling node-red says it is not recognized as internal or external command. I have installed nodejs and performed a local install to an offline machine. I would like to start node-red in the same now.

node c:\Users\Documents\NodeRed\node_modules\node-red\red.js

this seems to have solved my issue.

So basically what I have done is:

  1. Create a Main folder where I dumped the nodejs msi installer
  2. Create a Node Red folder where I installed node-red locally
  3. used npm to install modules to this node-red local folder
  4. Created a batch script in the main folder which will run the nodejs installation and wait for its completion
  5. If the error code is zero then I will copy the contents of the node-red folder to some directory in the machine where node-red has to be installed
  6. Created a batch script which calls the above command and converted to exe using iexpress.exe
  7. Ran this exe as service