Files
cheatsheet-tldr/tldr/nix-search
2026-01-01 00:25:00 +00:00

22 lines
517 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# nix search
> Search for packages in a Nix flake.
> More information: <https://nix.dev/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}}`