Installing Device Agent

Choose your install path

Most users should use the Device Agent Installer. Power users can choose Manual ( using npm) or Docker deployments.

  • Recommended: Use the Device Agent Installer
  • Alternative: Manual install (using npm)
    • Install the npm package, set working directory, configure, and run as a service. See Manual install
  • Alternative: Docker / Docker Compose
    • Run the agent in a container; bind-mount the configuration. See Docker install

Prerequisites

  • Node.js 18 or later (for Manual install and for running locally)
  • Supported OS: Linux, macOS, Windows, or Docker container
  • Networking: allow outbound access on 443 to:
    • app.flowfuse.com
    • mqtt.flowfuse.cloud
  • Access to npm registry when snapshots are installed: https://registry.npmjs.com

Note: The Device Agent downloads the required Node-RED version and any nodes specified by the assigned snapshot. Ensure firewall/proxy permits access to the npm registry or see Running with no access to npmjs.org.

Verify the installation

After installing by any method:

  1. Ensure a working directory exists (default is /opt/flowfuse-device or c:\opt\flowfuse-device).
  2. Provide a device configuration (via Quick Connect, provisioning, or manual device.yml). See Register your Remote Instance.
  3. Start the agent (service or CLI) and open http://<device-ip>:1880 when assigned and running.

What’s next