Man page - nix3-store(1)

Packages contains this manual

Manual

nix3-store

Name
Synopsis
Options
Logging-related options
Miscellaneous global options

Warning
This program is experimental 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:

β€’

nix store add - Add a file or directory to the Nix store

β€’

nix store add-file - Deprecated. Use nix store add --mode flat instead.

β€’

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

Options

Logging-related options

β€’

--debug

Set the logging verbosity level to β€˜debug’.

β€’

--log-format format

Set the format of log output; one of raw, internal-json, bar or bar-with-logs.

β€’

--print-build-logs / -L

Print full build logs on standard error.

β€’

--quiet

Decrease the logging verbosity level.

β€’

--verbose / -v

Increase the logging verbosity level.

Miscellaneous global options

β€’

--help

Show usage information.

β€’

--offline

Disable substituters and consider all previously downloaded files up-to-date.

β€’

--option name value

Set the Nix configuration setting name to value (overriding nix.conf).

β€’

--refresh

Consider all previously downloaded files out-of-date.

β€’

--version

Show version information.

Note

See man nix.conf for overriding configuration settings with command line flags.