nix-env
Install or query packages in the per-user Nix profile.
Syntax
$nix-env [OPTIONS] ACTIONS
Examples
Examples
$nix-env -i nixpkgs.hello
Examples
$nix-env -u nixpkgs.hello
Examples
$nix-env -e nixpkgs.hello
Examples
$nix-env -q
Distro comparison
Install package
Package manager commands for installing software.
Typical use cases
nix-env -iA nixpkgs.vim
nix-env -q
nix-env -u
Note
For user packages, not system-wide. Base command.
Export