Skip to content

nix-store

Manipulate or query the Nix store.

Synopsis

nix-store operation [options…] [arguments…] [--option name value] [--add-root path]

Description

The command nix-store performs primitive operations on the Nix store. You generally do not need to run this command manually.

nix-store takes exactly one operation flag which indicates the subcommand to be performed. The following operations are available:

These pages can be viewed offline:

  • man nix-store-<operation>.

Example: man nix-store-realise

  • nix-store --help --<operation>

Example: nix-store --help --realise