CLI Options
9/24/25Less than 1 minute
CLI Options
nix-versions --helpNAME
nix-versions - List Nix packages versions.
SYNOPSIS
nix-versions [<options>] <package-spec>...
DESCRIPTION
List available package versions.
See https://nix-versions.alwaysdata.net for a complete guide.
OPTIONS
--help -h Print this help and exit.
--read -r FILE Package specs are read from FILE.
SEARCH BACKEND
--nixhub Will default to https://nixhub.io for version search.
--history Will default to https://history.nix-packages.com for version search.
--lazamar Will default to https://lazamar.co.uk/nix-versions/.
--channel CHAN Use CHAN as when searching with Lazamar.
Default is `nixpkgs-unstable`.
OUTPUT FORMAT
--json -j Output a JSON array of resolved packages.
--text -t Output as a text table. [default]
--installable -i Print as a list of Nix installables.
--flake -f Generate a flake. See also: `ntv init`
TEXT OUTPUT OPTIONS
--color -C Use colors on text table to highlight selected versions.
--all -a Show all versions even those not matching a constraint
--one -1 Show only the latest version matching a constraint.
NTV
`nix-versions` is part of the [ntv](https://github.com/vic/ntv) suite,
Made with Love(tm) by [vic](https://x.com/oeiuwq).