nix
A powerful package manager that makes package management reliable, reproducible, and declarative. Some features of `nix` (`nix command`, `flakes`, etc) are experimental and require enabling experimental features. Some subcommands such as `build`, `develop`, `flake`, `registry`, `profile`, `search`, `repl`, `store`, `edit`, `why-depends`, etc. have their own usage documentation. See also: `nix classic`.
More info →Subcommands (16)
`nix-build` can refer to multiple commands with the same name.
Manage `nix` update channels.
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: `nix`.
Run a Bash shell that provides the build environment of a derivation.
Open the Nix expression of a Nix package in `$EDITOR`.
Manipulate or query Nix user environments.
Evaluate a Nix expression and print the result to `stdout`.
Manage Nix flakes. Some subcommands such as `init`, `show`, `info` have their own usage documentation.
Create store derivations from nix expressions. See also: `nix eval`.
Install, update, and remove packages from Nix profiles.
Manage a Nix flake registry. See also: `nix flake`.
Start an interactive environment for evaluating Nix expressions. See <https://nixos.org/manual/nix/stable/language/index.html> for a description of the Nix expression language.
Run an application from a Nix flake. See also: `nix flake`.
Search for packages in a Nix flake.
`nix-shell` can refer to multiple commands with the same name.
`nix-store` can refer to multiple commands with the same name.
Options (1)
-p, --parentsbooleanEnable the `nix` command
mkdir {{[-p|--parents]}} ~/.config/nix; echo 'experimental-features = nix-command flakes' > ~/.config/nix/nix.confExamples (7)
Enable the `nix` command
Search for a package in nixpkgs via its name or description
nix search nixpkgs search_termStart a shell with the specified packages from nixpkgs available
nix shell nixpkgs#pkg1 nixpkgs#pkg2 nixpkgs#pkg3 ...Install some packages from nixpkgs permanently
nix profile install nixpkgs#pkg1 nixpkgs#pkg2 nixpkgs#pkg3 ...Start an interactive environment for evaluating Nix expressions