Skip to main content
The agent is a small background service that reports your printers and prints jobs sent to them. It lists the printers the operating system already knows, receives print jobs from the API and hands them to the local print spooler. It only makes outbound HTTPS and WebSocket connections (port 443), so no ports need to be opened. Install it once per computer.

Downloads

The download page lists every installer. You can also fetch files directly. Every file lives under https://dl.inkrelay.app/agent/<version>/. The current <version> is the version field of stable.json, and its installers map lists the full URL of each file.

Install

Run the one-liner in Terminal:
Or download the .pkg for your Mac and open it. Download links for every file are listed in stable.json.The package installs the binary at /usr/local/libexec/inkrelay-agent/inkrelay-agent, adds a symlink at /usr/local/bin/inkrelay-agent and registers a LaunchDaemon with the label com.inkrelay.agent. Data lives in /Library/Application Support/InkRelay.Open the local page with:
Unsigned builds: if macOS says the package cannot be opened, open System Settings, Privacy & Security, and choose Open Anyway, or run sudo installer -pkg InkRelayAgent-<version>.pkg -target / in Terminal.

Sign in

After installing, the agent has no organization yet. On Windows, the one-line install command does this step for you. Otherwise run inkrelay-agent open (with sudo on macOS and Linux, from an administrator prompt on Windows) to open the agent’s local page, which shows a code and a link. Open app.inkrelay.app/device, sign in, enter the code and approve the computer. Only organization owners and admins can approve a computer. If the code expires, start sign-in again from the local page. When approval completes, the computer appears under Computers in the dashboard and its status turns online.

Choose printers

The agent lists every printer the operating system knows, but none of them accept API jobs until you tick them. The local page shows one list of printers on this computer, each with a tick box and an online or offline badge. Tick the printers that should accept print jobs. A change takes effect at once, with no Save button, and a printer whose change could not be saved shows the error on its row. You can make the same choice in the dashboard (Printers), where the switch is called Live. Ticking a printer turns it live. InkRelay then reads the printer’s paper sizes, trays, duplex and color support, which you can inspect with GET /v1/printers/{id}. See Options and paper sizes. Everything else is optional and sits under Advanced on each printer, closed by default: alias, default paper, remarks and custom paper sizes. Your plan limits how many computers you can connect. A computer over the limit is refused at sign-in.

Service commands

The agent is a system service. These commands need administrator rights (sudo on macOS and Linux, an administrator prompt on Windows).

Use a proxy

If the computer reaches the internet through an HTTP proxy, set it in one of three ways. Then restart the service.
  1. At install time on Windows: msiexec /i InkRelayAgent-<version>-x64.msi PROXY_URL="http://proxy:3128"
  2. With the CLI on any OS: inkrelay-agent install --proxy-url http://proxy:3128
  3. In config.json in the data directory, set proxy_url:
The data directory is /Library/Application Support/InkRelay on macOS, %ProgramData%\InkRelay on Windows and /var/lib/inkrelay on Linux. config.json also accepts api_origin, local_ui_port (default 38457) and log_level. The standard HTTPS_PROXY and NO_PROXY environment variables also work when they are set machine-wide, so the service can see them.

Verify a download

Each release publishes checksums.txt and a minisign signature. Fetch the public key from https://dl.inkrelay.app/agent/minisign.pub, then verify the signature and compare the hash of the file you downloaded:
On macOS use shasum -a 256 -c instead of sha256sum -c.

Updates

The agent updates itself. It checks stable.json every 6 hours and when the server asks it to, verifies the signature and checksum, stages the new version and restarts. Rollouts are staged, so not every computer updates at the same moment. A version that fails to start twice is rolled back to the previous one.

Known limitations

  • Windows: printers connected per user (\\server\printer) are invisible to the service because it runs as LocalSystem. Add them as local TCP/IP printers or make the connection machine-wide. Details are in the Windows tab under Install.
  • Windows: PDF jobs ignore dpi, media, collate, nup and rotate 180, and add a warning to the job’s stateMessage.
  • Unsigned builds: macOS Gatekeeper and Windows SmartScreen show a warning until signing certificates are in place. The bypass for each is in the Install tabs.

Troubleshooting

  • Run inkrelay-agent status first. If it says stopped, run inkrelay-agent start.
  • The local page shows whether the agent is signed in and connected, and explains platform limitations. If it does not load, another program may be using port 38457; printing keeps working. Set local_ui_port in config.json to use another port.
  • The agent writes agent.log in its data directory: /Library/Application Support/InkRelay on macOS, %ProgramData%\InkRelay on Windows and /var/lib/inkrelay on Linux. Set "log_level": "debug" in config.json for more detail, then restart the service.
  • Behind a proxy, see Use a proxy.
  • A computer shows offline in the dashboard when its agent is not connected. Check the network, then the log.

Uninstall

After uninstalling, delete the computer from the dashboard so its agent token is revoked.