nix3-store(1) General Commands Manual nix3-store(1) Warning This program is experimental <@docroot@/development/experimental-features.md#xp-feature-nix-command> and its interface is subject to change. Name nix store - manipulate a Nix store Synopsis nix store [option] subcommand where subcommand is one of the following: o nix store add <./nix3-store-add.md> - Add a file or directory to the Nix store o nix store add-file <./nix3-store-add-file.md> - Deprecated. Use nix store add --mode flat <@docroot@/command-ref/new-cli/nix3-store-add.md> instead. o nix store add-path <./nix3-store-add-path.md> - Deprecated alias to nix store add <@docroot@/command-ref/new-cli/nix3-store-add.md>. o nix store cat <./nix3-store-cat.md> - print the contents of a file in the Nix store on stdout o nix store copy-log <./nix3-store-copy-log.md> - copy build logs between Nix stores o nix store copy-sigs <./nix3-store-copy-sigs.md> - copy store path signatures from substituters o nix store delete <./nix3-store-delete.md> - delete paths from the Nix store o nix store diff-closures <./nix3-store-diff-closures.md> - show what packages and versions were added and removed between two closures o nix store dump-path <./nix3-store-dump-path.md> - serialise a store path to stdout in NAR format o nix store gc <./nix3-store-gc.md> - perform garbage collection on a Nix store o nix store info <./nix3-store-info.md> - test whether a store can be accessed o nix store ls <./nix3-store-ls.md> - show information about a path in the Nix store o nix store make-content-addressed <./nix3-store-make-content-addressed.md> - rewrite a path or closure to content-addressed form o nix store optimise <./nix3-store-optimise.md> - replace identical files in the store by hard links o nix store path-from-hash-part <./nix3-store-path-from-hash-part.md> - get a store path from its hash part o nix store ping <./nix3-store-ping.md> - test whether a store can be accessed o nix store prefetch-file <./nix3-store-prefetch-file.md> - download a file into the Nix store o nix store repair <./nix3-store-repair.md> - repair store paths o nix store sign <./nix3-store-sign.md> - sign store paths with a local key o nix store verify <./nix3-store-verify.md> - verify the integrity of store paths Options Logging-related options o --debug <#opt-debug> Set the logging verbosity level to `debug'. o --log-format <#opt-log-format> format Set the format of log output; one of raw, internal-json, bar or bar- with-logs. o --print-build-logs <#opt-print-build-logs> / -L Print full build logs on standard error. o --quiet <#opt-quiet> Decrease the logging verbosity level. o --verbose <#opt-verbose> / -v Increase the logging verbosity level. Miscellaneous global options o --help <#opt-help> Show usage information. o --offline <#opt-offline> Disable substituters and consider all previously downloaded files up-to-date. o --option <#opt-option> name value Set the Nix configuration setting name to value (overriding nix.conf). o --refresh <#opt-refresh> Consider all previously downloaded files out-of-date. o --version <#opt-version> Show version information. Note See man nix.conf <@docroot@/command-ref/conf-file.md#command-line-flags> for overriding configuration settings with command line flags. nix3-store(1)