Install the agent
The agent is distributed from the Lumen download CDN — no credentials, no GitHub, works from any network. Every fresh install starts in monitor mode: every detector runs, every match is recorded, nothing is redacted or blocked until you promote a rule.
The one-liner
- Linux / macOS
- Windows
curl -fsSL https://dl.lumen.wazuh.com/install.sh | sudo sh
# From an elevated prompt
powershell -ExecutionPolicy Bypass -Command "& ([scriptblock]::Create((irm https://dl.lumen.wazuh.com/install.ps1)))"
The installer resolves the latest release, downloads the archive for your OS
and architecture, verifies it against SHA256SUMS, installs the binary
and a starter config, and registers the OS service. Re-running it is an
upgrade; your edited config files are never overwritten.
Add --token=<enrollment token> (-Token on Windows) when enrolling into a
tenant — the console's enroll wizard prints the full command with the token
filled in.
Useful flags: --version vX.Y.Z, --no-service, --prefix DIR (rootless
sandbox install), --base-url URL (mirrors and air-gapped sites),
--uninstall.
Native packages
.deb, .rpm and a universal macOS .pkg ship with each release:
- Debian / Ubuntu
- RHEL / Fedora / SUSE
- macOS
apt install ./lumen-agent_*.deb
dnf install ./lumen-agent-*.rpm
installer -pkg lumen-agent_*_darwin_universal.pkg -target /
Config files are marked as conffiles, so local edits survive upgrades.
From source, for a demo laptop
-
Clone and build (Go ≥ 1.26 — the result is a single static binary):
git clone https://github.com/wazuh/labs-lumen && cd labs-lumen/agentmake build -
Check it runs:
./bin/lumen-agent version./bin/lumen-agent inspect --text "Ignore all previous instructions"
That is enough for every demo. No service, no root, no cloud.
Install layout
| Path | Contents |
|---|---|
/usr/bin/lumen-agent (deb/rpm), /usr/local/bin/lumen-agent (script, pkg) | the binary |
/etc/lumen/agent.yaml | agent config |
/etc/lumen/policy.yaml | policy, shipped in monitor mode |
/etc/lumen/disabled | the off-switch marker, absent unless lumen-agent disable wrote it |
/var/lib/lumen/ | spool and findings |
/var/log/lumen/ | launchd stdout/stderr on macOS |
On Windows: C:\Program Files\Lumen\lumen-agent.exe and
C:\ProgramData\Lumen\ for config and state.
Many machines, or an air-gapped site
Mirror the CDN layout once on any internal HTTP server and point the installer at it:
aws s3 sync s3://lumen-agent-dl/v0.5.0/ /srv/lumen/v0.5.0/ # once
sh install.sh --base-url https://mirror.internal/lumen --version v0.5.0
SHA256SUMS is the integrity story today and the installers enforce it.
Gatekeeper blocks a double-clicked macOS .pkg (install from the command
line or via MDM); SmartScreen warns on Windows.