Skip to main content

homelab-nut inventory

homelab-nut inventory​

Inspect and edit the homelab-nut inventory

Synopsis​

The inventory is a YAML file describing the hosts in your homelab, their roles, and the UPS attachments. With no --inventory/-i flag, homelab-nut uses ./homelab-nut.yaml if present, otherwise ~/homelab-nut.yaml.

Subcommands let you list hosts, validate the file, show a single host, or open the file in your $EDITOR (re-validating on save).

Options​

-h, --help help for inventory

Options inherited from parent commands​

-i, --inventory string path to the inventory YAML file (default: ./homelab-nut.yaml if present, else ~/homelab-nut.yaml)

SEE ALSO​

Auto generated by spf13/cobra on 24-Jun-2026​