What is the best way to search for packages in the command line?

If you’re ever wondering which package has e.g. which binary, I can also recommend nix-index:

λ ma27 [~] → nix-locate bin/alacritty
alacritty.out                                 6,751,040 x /nix/store/banp6bmjz72q2j5r6i61cc22pgjpq3ks-alacritty-0.8.0/bin/alacritty

(Doesn’t meant to be an alternative, but a nice addition for the problem statement I described above).

4 Likes