Searching packages: Difference between revisions
imported>Rapenne-s m missing space in the verbatim repl |
imported>Rapenne-s add nix search |
||
Line 11: | Line 11: | ||
* cons | * cons | ||
** it requires Internet | ** it requires Internet | ||
== Using nix search command == | |||
While this command is still experimental, you can use it to search for a package. It may be slow the first time, but further runs will use cached results. | |||
<pre> | |||
$ nix --extra-experimental-features "nix-command flakes" search nixpkgs firefox | |||
</pre> | |||
== Using the nix-env command == | == Using the nix-env command == |