tldr/pages/common/nix3-search.md
Vítor Henrique 4f75ffc1db
pages*: make "See also" conform to the new syntax (#12756) (#12354)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: spageektti <git@spageektti.cc>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2024-06-03 22:21:58 +02:00

484 B

nix search

Search for packages in a Nix flake. See also: nix3 flake for information about flakes. More information: https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-search.html.

  • Search nixpkgs for a package based on its name or description:

nix search {{nixpkgs}} {{search_term...}}

  • Show description of a package from nixpkgs:

nix search {{nixpkgs#pkg}}

  • Show all packages available from a flake on github:

nix search {{github:owner/repo}}