Skip to content

Command line

naelox [command]. With no command, serve runs.

Command What it does
serve Run the server, the web app, the built-in Allspark and the local workers. The default.
setup-link Print the link that finishes setting up a new server.
owner Name the owner and set their password, which joins devices. --profile picks the profile to make the owner.
worker Run a media and tuner worker on its own (streaming, scanning, tuners).
allspark-worker Run an Allspark transcoding worker on its own.
previewer run-job <id>, render <file> <out.mp4>, or render-clip <file> <out.mp4>. Builds one preview without the server, which is handy for tuning.
service install, uninstall, status, start, stop, restart. Keeps Naelox running in the background with systemd or launchd.
join-key Print a command that adds another computer as a worker. --once makes a key for one computer; --server URL sets the address other computers use.
join Join another Naelox server as a worker. This is the command Workers → Add a computer prints.
node Run this computer’s workers for the server it joined. Installed as a service by join.
healthcheck Exit 0 when the local server answers.
version Print the version.
Flag What it does
--headless Never open a browser. Listen on every interface and print the setup link with the machine’s network addresses.
--port N Listen on this port instead of the one chosen in Settings. Locks the Port setting.
--log-file PATH Write all output, including the workers’, to this file under the data folder. A file over 10 MB is moved to PATH.1 at each start.

healthcheck exits 0 when the server answers and non-zero otherwise. Every other command exits non-zero on an error and prints the reason to stderr prefixed with naelox:.