Install nodered in ubuntu
Before you can install Node-RED, you must have a working install of Node.js. We recommend the use of Node.js LTS 8.x. Users of Node.js 6.x and 4.x should ensure they have the latest updates. Node-RED no longer supports Node.js 0.12.x or 0.10.x.
Linux and OSX users should install the packaged version of Node.js for your specific operating system, or get the latest Long Term Support (LTS) version from the download site.
To check your version of Node.js
node -v
Other download options are available here.
The easiest way to install Node-RED is to use the node package manager, npm, that comes with Node.js. Installing as a global module adds the command
node-red
to your system path:sudo npm install -g --unsafe-perm node-red
Next
Once installed, you are ready to run Node-RED.
Running
If you have installed Node-RED as a global npm package, you can use the
node-red
command:$ node-red
Welcome to Node-RED
===================
25 Mar 22:51:09 - [info] Node-RED version: v0.18.4
25 Mar 22:51:09 - [info] Node.js version: v8.11.1
25 Mar 22:51:09 - [info] Loading palette nodes
25 Mar 22:51:10 - [warn] ------------------------------------------
25 Mar 22:51:10 - [warn] [rpi-gpio] Info : Ignoring Raspberry Pi specific node
25 Mar 22:51:10 - [warn] ------------------------------------------
25 Mar 22:51:10 - [info] Settings file : /home/nol/.node-red/settings.js
25 Mar 22:51:10 - [info] User Directory : /home/nol/.node-red
25 Mar 22:51:10 - [info] Server now running at http://127.0.0.1:1880/
25 Mar 22:51:10 - [info] Creating new flows file : flows_noltop.json
25 Mar 22:51:10 - [info] Starting flows
25 Mar 22:51:10 - [info] Started flows
You can then access the Node-RED editor by pointing your browser at http://localhost:1880.
Next
You can now create your first flow.
I want to thank you for your efforts to write this article, it is good and informative.
ReplyDeleteNode JS Online training
Node JS training in Hyderabad