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|--query --available --attr-path]}} {{search_term_regexp}}

nix-shell {{[-p|--packages]}} {{pkg1 pkg2 pkg3...}}

nix-env {{[-iA|--install --attr]}} {{nixpkgs.pkg1 nixpkgs.pkg2...}}

nix-store {{[-q|--query]}} --tree {{/nix/store/...}}

nix-channel --update

nix-collect-garbage