nix-classic
A classic, stable interface to a powerful package manager that makes package management reliable, reproducible, and declarative. tldr-pages
On several platforms
Several platforms
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.
Search for a package in nixpkgs via its name
nix-env --query --available --attr-path search_term_regexIdentifyStart a shell with the specified packages available
nix-shell --packages pkg1 pkg2 pkg3 ...IdentifyInstall some packages permanently
nix-env --install --attr nixpkgs.pkg1 nixpkgs.pkg2 ...IdentifyShow all dependencies of a store path (package), in a tree format
nix-store --query --tree /nix/store/checksum-package-version.extIdentifyUpdate the channels (repositories)
nix-channel --updateIdentifyRemove unused paths from Nix store
nix-collect-garbageIdentify