← 返回命令列表

Linux command

nh-search 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Search packages

nh search [query]

Search with JSON output

nh search --json [query]

说明

nh search searches Nix packages interactively. Provides fast fuzzy search with preview. Part of nh (nix helper) toolkit.

参数

--json
Output in JSON format.
--channel _channel_
Nixpkgs channel.

FAQ

What is the nh-search command used for?

nh search searches Nix packages interactively. Provides fast fuzzy search with preview. Part of nh (nix helper) toolkit.

How do I run a basic nh-search example?

Run `nh search [query]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --json do in nh-search?

Output in JSON format.