Advertisement
Guest User

Untitled

a guest
Nov 20th, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.55 KB | None | 0 0
  1. Usage: nix <COMMAND> <FLAGS>... <ARGS>...
  2.  
  3. Common flags:
  4. --debug enable debug output
  5. --help show usage information
  6. --help-config show configuration options
  7. --option <NAME> <VALUE> set a Nix configuration option (overriding nix.conf)
  8. --quiet decrease verbosity level
  9. -v, --verbose increase verbosity level
  10. --version show version information
  11.  
  12. In addition, most configuration settings can be overriden using '--<name> <value>'.
  13. Boolean settings can be overriden using '--<name>' or '--no-<name>'. See 'nix
  14. --help-config' for a list of configuration settings.
  15.  
  16. Available commands:
  17. add-to-store add a path to the Nix store
  18. build build a derivation or fetch a store path
  19. cat-nar print the contents of a file inside a NAR file
  20. cat-store print the contents of a store file on stdout
  21. copy copy paths between Nix stores
  22. copy-sigs copy path signatures from substituters (like binary caches)
  23. dump-path dump a store path to stdout (in NAR format)
  24. edit open the Nix expression of a Nix package in $EDITOR
  25. eval evaluate a Nix expression
  26. hash-file print cryptographic hash of a regular file
  27. hash-path print cryptographic hash of the NAR serialisation of a path
  28. log show the build log of the specified packages or paths, if available
  29. ls-nar show information about the contents of a NAR file
  30. ls-store show information about a store path
  31. optimise-store replace identical files in the store by hard links
  32. path-info query information about store paths
  33. ping-store test whether a store can be opened
  34. repl start an interactive environment for evaluating Nix expressions
  35. run run a shell in which the specified packages are available
  36. search query available packages
  37. show-config show the Nix configuration
  38. show-derivation show the contents of a store derivation
  39. sign-paths sign the specified paths
  40. to-base16 convert a hash to base-16 representation
  41. to-base32 convert a hash to base-32 representation
  42. to-base64 convert a hash to base-64 representation
  43. upgrade-nix upgrade Nix to the latest stable version
  44. verify verify the integrity of store paths
  45. why-depends show why a package has another package in its closure
  46.  
  47. Note: this program is EXPERIMENTAL and subject to change.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement