# nixgen View/manage and managing NixOS generations ## Library ```shell cargo add nixgen ``` ## CLI ``` cargo install nixgen ``` Usage: nixgen [COMMAND] Commands: - list List all NixOS generations - current Show the current NixOS generation - label Generate a label for a generation - help Print this message or the help of the given subcommand(s) Options: - -h, --help Print help - -V, --version Print version