Finding the github client package

:wave: I want to install gh โ€” Homebrew Formulae

When I nix search nixpkgs gh I get a ton of results. Any tips how to find this particular cli?

Use the gh attributeโ€ฆ

What I tend to use is the CNF tool.

$ gh
The program 'gh' is not in your PATH. You can make it available in an
ephemeral shell by typing:
  nix-shell -p gh

Or as I have it already installed, what I actually did was to run command-not-found gh.

Another nice tooling is NixOS Search which allows you to jump directly to website or nixpkgs code, which helps me sometimes to find the right attribute