Skip to main content
Fire Agent is a local agent that lets any browser (FIRE POS, XMART, etc.) print to thermal POS printers over WebSocket. Once installed, it runs in the background and starts automatically with Windows. Install it once per Windows device that has a printer attached.

Prerequisites

RequirementDetail
Operating systemWindows 10 or Windows 11, 64-bit
PermissionsAn account with Administrator rights (only during install/uninstall)
PowerShell5.1 or later (included with Windows 10/11) — only to verify the agent
Node.jsNot required. The agent ships as a standalone .exe
PrinterThe thermal printer driver must already be installed in Windows
The agent only listens on 127.0.0.1 (localhost), so it needs no open ports and no Windows Firewall rule.

Files you need

Depending on the task, you need one of these files:
FilePurpose
fireAgentSetup.exeGraphical installer. Installs the agent through a wizard.
fireAgentUninstall.exeStandalone uninstaller. Removes the agent even if you no longer have the original installer.

Download Fire Agent (Windows)

Windows installer for local thermal printing.

Step-by-step installation

1

Run the installer as administrator

  1. Locate fireAgentSetup.exe.
  2. Right-click it and choose Run as administrator.
  3. If the User Account Control (UAC) prompt appears, click Yes.
If Windows SmartScreen shows “Windows protected your PC”, click More info → Run anyway.
2

Welcome screen

The wizard shows the Fire Agent 1.1.0 welcome message. Click Next.
Fire Agent setup wizard — welcome screen
3

Installation folder

Confirm the installation folder (C:\Program Files\FireAgent by default). Keeping the default path is recommended. Click Install.
Fire Agent setup wizard — installation folder
4

Automatic installation

The wizard performs, with no user input:
  1. Stops any previous instance of the agent.
  2. Copies fire-agent.exe to the installation folder.
  3. Stores the FIRE_AGENT_TOKEN as a system environment variable.
  4. Registers auto-start with Windows for all users.
  5. Registers the app in Add or Remove Programs.
  6. Creates the uninstaller inside the installation folder.
Fire Agent setup wizard — progress bar
Wait for the progress bar to finish and click Next.
5

Finish

The last screen confirms the installation and the configured token. To start the agent right away, leave Start Fire Agent now ticked and click Finish.
Fire Agent setup wizard — installation complete
6

First launch (SSL certificate)

On its first launch the agent generates a self-signed SSL certificate in %APPDATA%\FireAgent\ssl\ (pure JavaScript, no PowerShell) and trusts it in the current user’s store with certutil.exe. This lets HTTPS pages connect to wss://localhost:9101 without certificate warnings, with no admin prompt and in a GPO-friendly way.
Fire Agent is installed and starts automatically whenever a user signs in to Windows. It appears as an icon in the system tray (next to the clock).

Verify that the agent is running

Open this address in a browser or use PowerShell:
Invoke-RestMethod http://localhost:9100/health
Expected response:
{ "status": "ok", "version": "1.1.0", "uptime": 12, "platform": "win32" }
To list the detected printers:
Invoke-RestMethod http://localhost:9100/printers
You can also click the Fire Agent tray icon to open the information panel. For print tests, see Agent web tools.

Ports used

PortAddressProtocolUse
9100127.0.0.1 (local only)HTTP / WSPlain WebSocket and REST endpoints
9101127.0.0.1 (local only)HTTPS / WSSEncrypted WebSocket (self-signed certificate)

Uninstall

There are three methods. All remove the agent completely (files, configuration, certificate, auto-start and registry).
  1. Open Settings (Windows + I).
  2. Go to Apps → Installed apps.
  3. Find Fire Agent, open the menu (⋯) → Uninstall and confirm.
  4. If the UAC prompt appears, click Yes and follow the wizard.

Method 2 — Standalone uninstaller (fireAgentUninstall.exe)

Useful when the original installer is no longer available.
  1. Right-click → Run as administrator.
  2. Confirm in the dialog and follow the wizard (Next → Uninstall → Finish).

Method 3 — Silent uninstall (scripts or mass deployments)

From PowerShell or CMD as administrator:
.\fireAgentUninstall.exe /S
The /S flag runs the uninstall with no windows and no confirmation.
Any of the three methods stops fire-agent.exe, removes the auto-start entry, the FIRE_AGENT_TOKEN variable and the SSL certificate, deletes the files in C:\Program Files\FireAgent\ and %APPDATA%\FireAgent\, and removes the Add or Remove Programs entry.

Troubleshooting

SymptomLikely causeFix
http://localhost:9100/health does not respondThe agent is not runningStart fire-agent.exe from C:\Program Files\FireAgent\ or restart the PC
The antivirus quarantined the .exeFalse positive with packaged Node executablesRestore the file or add an exclusion for C:\Program Files\FireAgent and %APPDATA%\FireAgent, then reinstall
401 Unauthorized on the WebSocket connectionWrong tokenCheck FIRE_AGENT_TOKEN in the system environment variables
The printer is missing from the listThe driver is not installed in WindowsInstall the printer driver from Windows settings
An HTTPS page cannot connect to wss://localhost:9101certutil was blocked and the browser does not trust the certificateImport %APPDATA%\FireAgent\ssl\cert.cer into Trusted Root Certification Authorities (certmgr.msc), or open https://localhost:9101/health once and accept the warning
Firefox shows a certificate warningFirefox uses its own certificate storeEnable security.enterprise_roots.enabled in about:config, or import the .cer under Firefox → Settings → Privacy & Security → Certificates

Appendix: what the installer changes on the system

Reference for system administrators.

Files

PathContents
C:\Program Files\FireAgent\fire-agent.exeAgent executable
C:\Program Files\FireAgent\uninstall.exeUninstaller created by the installer
%APPDATA%\FireAgent\config.jsonPersistent configuration
%APPDATA%\FireAgent\ssl\Self-signed SSL certificate (key + .cer)

Windows registry

KeyPurpose
HKLM\...\CurrentVersion\Run\FireAgentAuto-start for all users
HKLM\SYSTEM\...\Environment\FIRE_AGENT_TOKENSystem environment variable
HKLM\...\CurrentVersion\Uninstall\FireAgentAdd or Remove Programs entry

Supported environment variables (advanced)

VariableDefaultDescription
FIRE_AGENT_TOKENfire-agent-dev-tokenToken shared with the POS. Change it in production.
FIRE_AGENT_PORT9100HTTP / WS port
FIRE_AGENT_SSL_PORT9101HTTPS / WSS port
FIRE_AGENT_UPDATE_URL(empty — disabled)URL checked at startup for newer versions