Installing Node-RED for Windows
In this section, we will explain how to set up Node-RED in a Windows environment. This procedure is for Windows 10, but it will work for Windows 7 and Windows Server 2008 R2 and above as well. Windows 7 or earlier versions of Windows Server 2008 R2 are not currently supported and are not recommended.
For Windows, installing Node-RED as a global module adds the node-red
command to your system path. Run the following command in Command Prompt:
$ npm install -g --unsafe-perm node-red
Once you have finished installing Node-RED, you can use Node-RED straight away. Please run the following command. After running this command, you will recognize the URL being used to access the Node-RED flow editor. Usually, localhost (127.0.0.1) with the default port 1880 will be allocated:
$ node-red Welcome to Node-RED =================== … [info] Starting flows [info] Started flows [info] Server now running at http://127.0.0.1:1880/
Let's access...