nix-store(1)

πŸ’– NAME πŸ’–

nix-store β€” manipulate or query the Nix store ✨

okay so hi bestie 🫢 this is the page for nix-store(1), straight out of the General Commands Manual, and she's here to let you poke the Nix store directly. Let's get into it.


πŸŽ€ SYNOPSIS πŸŽ€

nix-store operation [options…] [arguments…] [--option name value]
[--add-root path]

🌈 DESCRIPTION 🌈

The command nix-store performs primitive operations on the Nix store. And listen β€” you generally do not need to run this command manually. It's giving backstage-pass energy, not front-of-house. πŸ’…

nix-store takes exactly one operation flag which indicates the subcommand to be performed. One. Not two, not zero. Pick your fighter. πŸ‘‘

The following operations are available:

  • --realise
  • --serve
  • --gc
  • --delete
  • --query
  • --add
  • --add-fixed
  • --verify
  • --verify-path
  • --repair-path
  • --dump
  • --restore
  • --export
  • --import
  • --optimise
  • --read-log
  • --dump-db
  • --load-db
  • --print-env
  • --generate-binary-cache-key

These pages can be viewed offline, which is honestly so iconic of them πŸ“šβœ¨

  • man nix-store-<operation>.

Example: man nix-store-realise

  • nix-store --help --<operation>

Example: nix-store --help --realise


and that's the whole vibe, babe πŸ’‹ this was nix-store(1), page of the General Commands Manual β€” that's the footer, that's the header, that's the whole entire thing. mwah. πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from