FlowSuite

Running the listener on a Linux server so WhatsApp arrives around the clock

Published on 28. November 2026

If your WhatsApp inbox should be reachable around the clock without a Mac staying signed in, run the listener on a Linux server. The server package runs as a background service, needs no desktop and no browser and is controlled entirely from the command line.

The full guide with the commands for your version is also in FlowSupport itself: open the Downloads page and click Installation guide on the Linux server card. The guide page itself is in German.

The FlowSupport page for the listener on a Linux server with requirements and installation

Requirements

  • Linux with systemd, x86_64 or aarch64, and root access on the server
  • Node.js 22 or later including npm
  • outgoing HTTPS connections to our platform, the WhatsApp servers and the npm registry

You don't need to open any incoming ports.

Installing

  1. In FlowSupport, open the Installation guide on the Linux server card under Downloads. The three commands are already there with the right download address.
  2. Download the archive on the server, unpack it with tar -xzf and change into the unpacked folder.
  3. Start the installation with sudo ./install.sh.

The installer creates a dedicated service user, installs everything to /opt/flowsupport-wa-listener, sets up the service and starts it. For everyday use you then have the fs command.

Right after installation fs status reports the state login_required. That's expected, because you haven't signed in yet.

Signing in and pairing your number

  1. Run fs login. The command shows an address and waits for input.
  2. Open the address in any browser, for example on your work computer, and confirm the sign-in.
  3. The page then shows a value of the form code=...&state=... with a copy button. Paste exactly this value into the waiting terminal.
  4. Bring your inboxes over with fs accounts sync.
  5. Show the QR code of a session with fs qr <name> and scan it in WhatsApp on your phone under Linked devices.

If you don't have an inbox at all yet, create it right on the server: fs accounts create "Customer service", optionally with --phone and the number. The inbox then appears in FlowSupport and belongs to you.

You set how much of the existing history comes over with fs import scope <name> <scope>. Possible values are all (entire history), months_12 (last 12 months), per_chat_500 (500 messages per chat) and from_now (new messages only).

The sign-in code is valid for ten minutes. If it has expired or you cancelled, simply start a new fs login. The pairing with WhatsApp survives a server restart; you don't have to scan the QR code again.

The most important commands

  • fs status: service, sign-in and all sessions at a glance
  • fs login: renew the sign-in to your FlowSupport account
  • fs accounts sync: sync inboxes with your account, for example after creating a new inbox
  • fs qr <name>: show the QR code, also for re-pairing
  • fs logs <name> -f: follow a session's log; SYSTEM stands for the service itself

Updating and removing

To update, download the new archive, unpack it and run sudo ./install.sh again. Sign-in and paired numbers are kept.

To remove it, use sudo ./uninstall.sh. The script asks whether the data directory should be deleted too. sudo ./uninstall.sh --purge deletes it without asking.

Good to know

  • All data lives under /var/lib/flowsupport-wa-listener and is readable only by the service user. It also contains sign-in data in plain text, so treat backups of this folder as confidentially as the server itself.
  • If the guide page says that no server package has been published yet, there is currently no version to download. The guide stays valid; only the download address is missing.
  • If you created an inbox elsewhere, for example in the Mac app, run fs accounts sync so that the server takes it over.

Was this article helpful?

Back to FlowSupport