How to Install Node RED on Debian Latest

Node-RED is a programming tool that is used for connecting hardware devices, APIs and online services. In this tutorial, we will guide you through the steps of installing Node-RED on Debian Latest.

Prerequisites

Before we begin, ensure that the following requirements are met:

Install Node.js

  1. Open your terminal and run the following command to update your system packages:

    sudo apt-get update
    
  2. Next, install Node.js by running the following command:

    sudo apt-get install nodejs
    
  3. To check if Node.js is installed, run the following command:

    node -v
    

    You should see the version of Node.js that is installed on your system.

Install Node-RED

  1. You can install Node-RED using the Node.js package manager, NPM. Run the following command in your terminal:

    sudo npm install -g --unsafe-perm node-red
    
  2. Once the installation is complete, you can check if Node-RED is installed by running the following command:

    node-red -v
    

    You should see the version of Node-RED that is installed on your system.

Accessing Node-RED

  1. Start Node-RED by running the following command in your terminal:

    node-red
    
  2. Open your web browser and type the following URL in the address bar:

    http://localhost:1880/
    
  3. You should see the Node-RED interface.

    Note: If you are running Node-RED on a remote server, replace localhost with the IP address of the server or domain name.

Conclusion

In this tutorial, we have shown you how to install Node-RED on Debian Latest operating system. You can now use Node-RED for building and deploying sophisticated IoT applications.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!