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 π₯Ί)
π Logging-related options π
--debugβ set the logging verbosity level to βdebugβ.--log-formatformat β set the format of log output; one ofraw,internal-json,barorbar-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.--optionname value β set the Nix configuration setting name to value (overridingnix.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
- 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