nix3-store(1) General Commands Manual nix3-store(1)

Warning: 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:

Available commands:

  • nix store add-file <./nix3-store-add-file.md> - add a regular file to the Nix store
  • nix store add-path <./nix3-store-add-path.md> - add a path to the Nix store
  • nix store cat <./nix3-store-cat.md> - print the contents of a file in the Nix store on stdout
  • nix store copy-sigs <./nix3-store-copy-sigs.md> - copy store path signatures from substituters
  • nix store delete <./nix3-store-delete.md> - delete paths from the Nix store
  • nix store diff-closures <./nix3-store-diff-closures.md> - show what packages and versions were added and removed between two closures
  • nix store dump-path <./nix3-store-dump-path.md> - serialise a store path to stdout in NAR format
  • nix store gc <./nix3-store-gc.md> - perform garbage collection on a Nix store
  • nix store ls <./nix3-store-ls.md> - show information about a path in the Nix store
  • nix store make-content-addressed <./nix3-store-make-content-addressed.md> - rewrite a path or closure to content-addressed form
  • nix store optimise <./nix3-store-optimise.md> - replace identical files in the store by hard links
  • nix store ping <./nix3-store-ping.md> - test whether a store can be accessed
  • nix store prefetch-file <./nix3-store-prefetch-file.md> - download a file into the Nix store
  • nix store repair <./nix3-store-repair.md> - repair store paths
  • nix store sign <./nix3-store-sign.md> - sign store paths
  • nix store verify <./nix3-store-verify.md> - verify the integrity of store paths

:

nix store copy-log <./nix3-store-copy-log.md> - copy build logs between Nix stores