Nia CoreThat's it. The agent runs under your own macOS user account (no administrator rights needed), starts immediately, and restarts itself at login or if it ever stops unexpectedly.
Gatekeeper will say "nia-agent" cannot be opened because the developer cannot be verified. To run it anyway: open System Settings → Privacy & Security after the first blocked attempt and click Open Anyway, or run this once before installing:
xattr -d com.apple.quarantine ./nia-agent
It then confirms a successful check-in and prints a summary. Run nia-agent setup again any time — once already set up, it shows a small menu instead.
Open the Agents page on Nia Core — the agent should show up as online within a few seconds. On the machine itself, run nia-agent status.
./uninstall.sh
Add --purge to also remove stored configuration and logs.
Install without the guided setup with ./install.sh (or sudo ./install.sh --system for a system-wide service for all users, starting at boot) — it starts immediately either way. Then, in order:
nia-agent sql readonly --login nia_agent --databases <your-database-name> --out nia-readonly-setup.sql nia-agent pair --code <pairing-code> --url <platform-address> nia-agent connection add \ --id <short-id> --label "<friendly name>" \ --host <database-server-host> --port <port> --database <database-name> \ --user nia_agent --password <the-password> \ --source-timezone <IANA time zone, e.g. America/New_York> nia-agent destinations allow <destination-hostname> nia-agent status