mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-09 23:46:38 +00:00
22 lines
550 B
Plaintext
22 lines
550 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# nh search
|
|
|
|
> Search for packages in Nixpkgs.
|
|
> More information: <https://github.com/nix-community/nh#usage>.
|
|
|
|
- Search for a package in Nixpkgs, limiting results:
|
|
|
|
`nh search {{[-l|--limit]}} {{number}} {{name}}`
|
|
|
|
- Search for a package in a specified Nixpkgs channel:
|
|
|
|
`nh search {{[-c|--channel]}} {{nixos-unstable}} {{name}}`
|
|
|
|
- Search for a package in Nixpkgs, showing supported platforms for each package:
|
|
|
|
`nh search {{[-P|--platforms]}} {{name}}`
|