Node-RED is an open source independent edge device, based on Node.js. Follow these steps:
- Assuming Node.js is already installed, we can install Node-RED from the command console with the following command:
git clone https://github.com/node-red/node-red.gitcd node-rednpm install
- Then, we need to install Grunt and compile Node-RED as follows:
-
- If you are using Windows, enter the following command:
npm install -g grunt-cligrunt build
-
- If you are using Linux or macOS, enter the following command:
sudo npm install -g grunt-cligrunt build
- In the same directory, we need to install the support for OPC UA, as follows:
npm install node-red-contrib-opcua
- We are now ready to work with Node-RED. From the command console, ...