Skip to content

Cratis CLI

CLI

Inspect and diagnose Chronicle from a terminal

The Cratis CLI provides terminal workflows for inspecting and diagnosing Chronicle. Use the exact CLI version and documented command scope for the environment you inspect.

Terminal window
brew tap cratis/cratis
brew install cratis

The .NET tool requires the runtime declared by the current package. Native release assets and platform coverage vary by release; verify the exact artifact before installation.

  1. Create a named Chronicle connection context.

    Terminal window
    cratis context create dev --server chronicle://localhost:35000
  2. Select that context.

    Terminal window
    cratis context set dev
  3. Run the documented diagnostic summary.

    Terminal window
    cratis chronicle diagnose

The diagnostic command reports its documented connection, observer, failed-partition, and recommendation checks. Use command help and the exact CLI version to inspect the current command and output surface.

Chronicle Workbench provides a bundled local browser surface for authorized inspection of Chronicle runtime state and preview of supported projection behavior. The CLI provides the terminal inspection and diagnosis path around the same product family.

The CLI also contains separately documented command groups for other Cratis products. Their presence does not establish those products’ maturity, support, compatibility, or availability.

  • Ordinary output formats are not an unversioned stable machine contract.
  • Command availability does not establish support, an SLA, reliability, security, compatibility, or production suitability.
  • Connection strings and context files can contain credentials; keep them out of source, public issues, and shared logs.