LinuxCommandLibrary

nix-search

searches for packages in Nix flakes

TLDR

Search packages

$ nix search nixpkgs [query]
copy
Search with JSON output
$ nix search nixpkgs [query] --json
copy
Search specific flake
$ nix search [github:owner/repo] [query]
copy

SYNOPSIS

nix search flake [query] [options]

DESCRIPTION

nix search searches for packages in Nix flakes. Searches package names and descriptions. Part of the new Nix command interface.

PARAMETERS

flake

Flake to search (e.g., nixpkgs).
query
Search query regex.
--json
Output in JSON format.
-e, --exclude regex
Exclude matching packages.

SEE ALSO

nix(1), nix-profile(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community