Docs · Using Nexus
Command Line (CLI)
The Fleet is fully driveable from the terminal. These are the commands you'll use to run a manager, enroll agents, and operate the SOC console.
nexus — the umbrella command
pip install nexus-fleet installs one entry point, nexus, that dispatches to every sub-command — plus standalone twins for each. Use whichever you prefer:nexus manager run is identical to nexus-manager run.
nexus --version # nexus 2.2.1 — verify the install in any terminal
nexus --help # list sub-commands: manager, agent, cli, dashboard, licensenexus manager
The central server. It also serves the web dashboard on the same port.
# start the server + dashboard at http://<host>:8765/
nexus manager run --host 0.0.0.0 --port 8765
# print the enrollment key and admin token
nexus manager info
# enable TLS (HTTPS) for the manager API + dashboard
nexus manager run --host 0.0.0.0 --port 8765 \
--cert server.pem --key server.keynexus agent
The endpoint daemon. Enroll it once, then start it as a service.
# enroll against a manager (labels are optional)
nexus agent enroll --host <manager> --port 8765 \
--key <ENROLL_KEY> --labels prod,web
# run the daemon
nexus agent startdeploy/ directory of the package.nexus cli — the SOC console
Run it with no arguments for an interactive, menu-driven console (network & web menus), or pass a token and subcommand for scripted use.
# interactive console
nexus cli
# scripted: list alerts (rule engine + MITRE)
nexus cli --token <ADMIN_TOKEN> alerts
# generate a consistent report (schema nexus.report/v1)
nexus cli --token <ADMIN_TOKEN> reportCommon subcommands
agents— show enrolled endpoints and their statusalerts·ack— list alerts; acknowledge / resolve themevents·incidents— raw telemetry and grouped incidentscommand— queue a command to an agent (e.g. collect now)apply-license— hot-reload a license onto a running managerremove-agent— drop an enrollment and free its seatreport— export a structured report
nexus license
The vendor tool for issuing and inspecting Ed25519-signed tokens. Without a license, the manager runs in Free mode (2 agents); a Pro token is seat-based, Enterprise is unlimited.
# verify and print the contents of a token (or token file)
nexus license info --token <LICENSE_TOKEN>
# apply a Pro/Enterprise token to a running manager (hot-reload)
nexus cli --token <ADMIN_TOKEN> apply-license --token <LICENSE_TOKEN>