1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
.TH NIX "1" "November 2018" "nix (Nix) 2.1.3" "User Commands"
.SH NAME
nix \- experimental cli for the nix package manager
.SH SYNOPSIS
.B nix
\fI\,<COMMAND> <FLAGS>\/\fR... \fI\,<ARGS>\/\fR...
.SH DESCRIPTION
.SS "Common flags:"
.TP
\fB\-\-debug\fR
enable debug output
.TP
\fB\-\-help\fR
show usage information
.TP
\fB\-\-help\-config\fR
show configuration options
.TP
\fB\-\-option\fR <NAME> <VALUE>
set a Nix configuration option (overriding nix.conf)
.TP
\fB\-\-quiet\fR
decrease verbosity level
.TP
\fB\-v\fR, \fB\-\-verbose\fR
increase verbosity level
.TP
\fB\-\-version\fR
show version information
.PP
In addition, most configuration settings can be overriden using '\-\-<name> <value>'.
Boolean settings can be overriden using '\-\-<name>' or '\-\-no\-<name>'. See 'nix
\fB\-\-help\-config\fR' for a list of configuration settings.
.SS "Available commands:"
.TP
add\-to\-store
add a path to the Nix store
.TP
build
build a derivation or fetch a store path
.TP
cat\-nar
print the contents of a file inside a NAR file
.TP
cat\-store
print the contents of a store file on stdout
.TP
copy
copy paths between Nix stores
.TP
copy\-sigs
copy path signatures from substituters (like binary caches)
.TP
dump\-path
dump a store path to stdout (in NAR format)
.TP
edit
open the Nix expression of a Nix package in $EDITOR
.TP
eval
evaluate a Nix expression
.TP
hash\-file
print cryptographic hash of a regular file
.TP
hash\-path
print cryptographic hash of the NAR serialisation of a path
.TP
log
show the build log of the specified packages or paths, if available
.TP
ls\-nar
show information about the contents of a NAR file
.TP
ls\-store
show information about a store path
.TP
optimise\-store
replace identical files in the store by hard links
.TP
path\-info
query information about store paths
.TP
ping\-store
test whether a store can be opened
.TP
repl
start an interactive environment for evaluating Nix expressions
.TP
run
run a shell in which the specified packages are available
.TP
search
query available packages
.TP
show\-config
show the Nix configuration
.TP
show\-derivation
show the contents of a store derivation
.TP
sign\-paths
sign the specified paths
.TP
to\-base16
convert a hash to base\-16 representation
.TP
to\-base32
convert a hash to base\-32 representation
.TP
to\-base64
convert a hash to base\-64 representation
.TP
upgrade\-nix
upgrade Nix to the latest stable version
.TP
verify
verify the integrity of store paths
.TP
why\-depends
show why a package has another package in its closure
.PP
Note: this program is EXPERIMENTAL and subject to change.
|