This program is experimental and its interface is subject to change.
nix store - manipulate a Nix store
nix store [option...] subcommand
where subcommand is one of the following:
nix store add- Add a file or directory to the Nix store
nix store add-file- Deprecated. Use
nix store add --mode flatinstead.
nix store add-path- Deprecated alias to
nix store add.
nix store cat- print the contents of a file in the Nix store on stdout
nix store copy-log- copy build logs between Nix stores
nix store copy-sigs- copy store path signatures from substituters
nix store delete- delete paths from the Nix store
nix store diff-closures- show what packages and versions were added and removed between two closures
nix store dump-path- serialise a store path to stdout in NAR format
nix store gc- perform garbage collection on a Nix store
nix store info- test whether a store can be accessed
nix store ls- show information about a path in the Nix store
nix store make-content-addressed- rewrite a path or closure to content-addressed form
nix store optimise- replace identical files in the store by hard links
nix store path-from-hash-part- get a store path from its hash part
nix store ping- test whether a store can be accessed
nix store prefetch-file- download a file into the Nix store
nix store repair- repair store paths
nix store sign- sign store paths with a local key
nix store verify- verify the integrity of store paths
Set the logging verbosity level to 'debug'.
Set the format of log output; one of
Print full build logs on standard error.
Decrease the logging verbosity level.
Increase the logging verbosity level.
Show usage information.
Disable substituters and consider all previously downloaded files up-to-date.
Set the Nix configuration setting name to value (overriding
Consider all previously downloaded files out-of-date.
Show version information.
man nix.conffor overriding configuration settings with command line flags.