1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-25 01:55:24 +02:00
tldr/pages/common/nix3-search.md
Managor 36735f324a
common*: refresh old pages part 8 (#16293)
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
2025-05-03 05:57:20 +03:00

481 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}}