nix classic

A classic, stable interface to a powerful package manager that makes package management reliable, reproducible, and declarative. Some Nix commands such as nix-build, nix-shell, nix-env, and nix-store have their own pages. See also: tldr nix. More information: https://nixos.org.

nix-env -qaP search_term_regexp

nix-shell -p pkg1 pkg2 pkg3...

nix-env -iA nixpkgs.pkg1 nixpkgs.pkg2...

nix-store --query --tree /nix/store/...

nix-channel --update

nix-collect-garbage