Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build Node-RED environment in visual interface development

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces how to build the Node-RED environment in visual interface development. The content is very detailed. Interested friends can use it for reference. I hope it will be helpful to you.

Guide reading

Now there are more and more non-professional background but enthusiastic creative Maker, want to enter the field of the Internet of things, but often suffer from being unable to write obscure program code. IBM released an open source visual interface development tool, Node-RED, to meet their need to quickly connect hardware and devices to Web services and other software. With the continuous development of Node-RED, it has rapidly developed an important and growing user base and an active developer community, and it is constantly developing new nodes to support programmers to use Node-RED to accomplish a variety of tasks. This time I will teach you how to build the environment of Node-RED on WIN10.

01

Download Node.js

Download node.js from the Node.js official website, install node.js and automatically install npm.

The installation process is basically straightforward "NEXT".

(the installation msi file of windows will directly add the system variable of path in the process, and the value of the variable is your installation path, such as "C:\ Program Files\ nodejs")

02

Check whether the environment has been installed

You can use cmd (win+r and then enter cmd to enter) to test whether NodeJS is installed successfully. Type node-v under cmd, and the following version prompts you to complete the installation of NodeJS.

Type "npm-v" on the cmd command line to test whether the installation was successful. As shown in the following figure, the version prompt will be OK.

At this point, the installation of Node.js is complete.

03

Install Node-RED

Install Node-RED as a global module and add the command node-red to your system path. Execute the following command under cmd: npm install-g-- unsafe-perm node-red

When the installation is complete, you can run Node-RED

04

Run Node-RED

After installation, the easy way to run Node-RED is to use the node-red command from a command prompt.

After typing, enter http://127.0.0.1:1880/ in the browser address bar to enter Node-RED.

On how to build a visual interface in the Node-RED environment is shared here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report