nix3-store-info(1)

πŸ’Ύ nix3-store-info(1) β€” the General Commands Manual glow-up

okay bestie, so this is the page for nix3-store-info(1), from the General Commands Manual, and it's literally the cutest lil vibe-check tool in the whole Nix toolkit πŸŽ€

⚠️ Warning β€” This program is experimental and its interface is subject to change. Not me warning you before you build your whole personality around it πŸ’€

✨ NAME ✨

nix store info β€” test whether a store can be accessed πŸ”


🌸 SYNOPSIS 🌸

nix store info [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 πŸ’–

This command tests whether a particular Nix store β€” the one you name with the argument --store url β€” can actually be accessed. What "accessed" even means depends on the type of store you're pointing at. Like, for an SSH store it means Nix can connect to the machine you specified. Different store, different definition, that's just the way it is πŸ’…

If the command succeeds, Nix returns an exit code of 0 and prints no output at all. Silently iconic. No news is good news, periodt ✨


πŸ‘‘ OPTIONS πŸ‘‘

  • --json β€” produce output in JSON format, so another program can consume it. tech-to-tech communication, we love to see it 🫢
  • --no-pretty β€” print compact JSON output on a single line, even when the output is going to a terminal. Some commands may print multiple JSON objects on separate lines.

See --pretty.

  • --pretty β€” print multi-line, indented JSON output for readability.

Default: indent if output is to a terminal.

This option is only effective when --json is also specified. (like, it needs its bestie along for the ride πŸ₯Ί)

  • --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.

and that's the whole page, bestie!! go forth and vibe-check ur stores πŸ’–βœ¨ this was nix3-store-info(1) from the General Commands Manual, signing off β€” mwah, ily, bye πŸŽ€πŸ¦‹πŸ‘‘

πŸ“¦ where this page comes from