When it asks "Run guided setup now? [Y/n]", press Enter and answer its questions below.
That's it. The agent runs under a dedicated, unprivileged system account as a systemd service, starting automatically going forward.
Guided setup questions
Pairing command or code — paste the full command from the Agents page, or just the code.
Database server (default localhost) and port (default 1433).
Database username — leave blank if you don't have one yet, and it offers to write a read-only setup script for your DBA instead.
Database password (hidden as you type).
Pick a database from a numbered list of what that login can see.
Time zone the database server runs in (defaults to this machine's own).
Destination hostname to allow (optional — only needed if a job will be published from a Nia Core workflow rather than added directly on this machine).
It then starts the service, waits for 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.
Verify it worked
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
sudo ./uninstall.sh
Add --purge to also remove stored configuration.
Advanced: typed-command install
sudo ./install.sh nia-agent-linux-<version>.tar.gz does not start the agent by itself — run sudo systemctl start nia-agent afterward. Then, in order: