LinuxCommandLibrary

nix-profile

manages user package profiles in Nix

TLDR

List installed packages

$ nix profile list
copy
Install package
$ nix profile install [nixpkgs#hello]
copy
Remove package
$ nix profile remove [hello]
copy
Upgrade packages
$ nix profile upgrade '.*'
copy
Rollback profile
$ nix profile rollback
copy

SYNOPSIS

nix profile command [options]

DESCRIPTION

nix profile manages user package profiles in Nix. Modern replacement for nix-env. Installs, removes, and upgrades packages with atomic operations and rollback support.

PARAMETERS

list

List installed packages.
install package
Install package.
remove package
Remove package.
upgrade regex
Upgrade matching packages.
rollback
Rollback to previous generation.
history
Show profile history.
diff-closures
Show changes between generations.

SEE ALSO

nix(1), nix-env(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community