Skip to content

Agent Installation

Windows

Requires: Windows 10 / 11 / Server 2019+, PowerShell as Administrator.

powershell iwr -useb https://get.lorika.dev/install.ps1 | iex

The installer:

  1. Downloads the Windows agent binary (signed)
  2. Creates a Windows service LorikaAgent
  3. Starts the service and runs the first scan

Uninstall: Use Control Panel → Programs or from the Lorika dashboard: Devices → Remove.

macOS

Requires: macOS 12+ (Intel or Apple Silicon).

bash curl -fsSL https://get.lorika.dev/install.sh | sudo bash -s -- --token=YOUR_TOKEN

The installer:

  1. Downloads the signed macOS binary
  2. Installs a launchd LaunchDaemon
  3. Starts the agent and runs first scan

Uninstall:

bash sudo /usr/local/bin/lorika-agent uninstall

Linux

Requires: Any modern Linux (Ubuntu 20.04+, Debian 11+, RHEL 8+, Fedora, Arch, Alpine).

bash curl -fsSL https://get.lorika.dev/install.sh | sudo bash -s -- --token=YOUR_TOKEN

The installer:

  1. Downloads the agent binary
  2. Creates a systemd service lorika-agent.service
  3. Enables and starts the service

Uninstall:

bash sudo systemctl stop lorika-agent sudo systemctl disable lorika-agent sudo rm /etc/systemd/system/lorika-agent.service /usr/local/bin/lorika-agent

Verify installation

In your Lorika dashboard, open the Devices page. New device should appear within 1–2 minutes.