nix3-store-ping(1)

πŸ’– nix3-store-ping(1) πŸ’–

okay bestie, welcome to the General Commands Manual section, this is the nix store ping page and it's literally the vibe check for your Nix stores 🫢

⚠️ Warning β€” this program is experimental and its interface is subject to change. yes fr fr, it might shift under you, that's just how it is rn πŸ’€

✨ Name ✨

nix store ping β€” test whether a store can be accessed 🌸


✨ Synopsis ✨

nix store ping [option…]

✨ Examples ✨

  • Test whether connecting to a remote Nix store via SSH works:
# nix store info --store ssh://mac1
  • Test whether a URL is a valid binary cache:
# nix store info --store https://cache.nixos.org
  • Test whether the Nix daemon is up and running:
# nix store info --store daemon

✨ Description ✨

So this command tests whether a particular Nix store β€” the one you point at with the --store url argument β€” can actually be accessed πŸ‘‘ what "accessed" even means depends entirely on what type of store it is. like, for an SSH store, it means Nix can connect to the specified machine. it's giving "can we get in or not" energy.

If the command succeeds, Nix returns an exit code of 0 and does not print any output. silent. iconic. no notes. 🀫


✨ Options ✨

  • --json β€” produce output in JSON format, suitable for consumption by another program πŸ“
  • --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. iykyk πŸ’œ

and that's the whole page bestie, you ate it up πŸ’– this was the nix3-store-ping(1) manual, filed under General Commands Manual, footer and all β€” same title top and bottom, periodt ✨

πŸ“¦ where this page comes from