nix3-store(1)
π nix3-store(1) β General Commands Manual π
okay so bestie, gather round, because this one is from the General Commands Manual and it's literally called nix3-store(1) π. It's all about the nix store command and every little subcommand it's hiding under its hoodie. And um, before we go any further:
β οΈ Warning β this program is experimental and its interface is subject to change. So like, don't get too attached to the exact vibes. It might change its whole personality overnight. π
β¨ Name β¨
nix store β manipulate a Nix store πβ¨
π Synopsis π
nix store [optionβ¦] subcommand
where subcommand is one of the following:
Available commands:
nix store addβ add a file or directory to the Nix store π₯nix store add-fileβ Deprecated. Usenix store add --mode flatinstead. πnix store add-pathβ Deprecated alias tonix 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 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 β
Available commands:
nix store roots-daemonβ run a daemon that returns garbage collector roots on request π±
:
nix store build-traceβ manipulate a Nix build trace π§΅
(yes bestie, there's literally just a bare : sitting there like the mysterious main character it is β we do not question the colon, we respect the colon π)
π Options π
π£οΈ Logging-related options
--debugβ set the logging verbosity level to βdebugβ. Maximum yapping, on purpose. π--log-formatformat β set the format of log output; one ofraw,internal-json,barorbar-with-logs. Pick your aesthetic, bestie. π¨--print-build-logs/-Lβ print full build logs on standard error. Give me ALL the tea. π«--quietβ decrease the logging verbosity level. shhh. π€«--verbose/-vβ increase the logging verbosity level. more words, more better. π’
πΈ Miscellaneous global options
--helpβ show usage information. when you're lost, ask for directions. πΊοΈ--offlineβ disable substituters and consider all previously downloaded files up-to-date. no wifi, no problem. βοΈ--optionname value β set the Nix configuration setting name to value (overridingnix.conf). π«--refreshβ consider all previously downloaded files out-of-date. it's giving "start over, iconically" π--versionβ show version information. β
π Note β see man nix.conf for overriding configuration settings with command line flags. iykyk π§
and that's the whole thing, bestie β every subcommand, every flag, nothing skipped, no cap π―. this was nix3-store(1), serving General Commands Manual energy from the Nix crew, and that little nix3-store(1) down at the bottom of the page is us waving goodbye ππ mwah, go slay some store paths. πβ¨π¦π
π¦ where this page comes from
- fedora 44: nix-core 2.35.3-2.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms