Skip to content

Stay CLI

stay is the meta-CLI that ties all StayDistributed products together. It discovers, installs, and delegates to product binaries without importing any product code — keeping its install size minimal.

When you run stay check version, the CLI:

  1. Looks up check in its internal registry
  2. Finds the binary name staydistributed-check
  3. Spawns staydistributed-check version as a child process

If the binary isn’t installed, stay prints a helpful error suggesting stay check init.

The tool registry maps product names to their npm packages and binary names:

ToolPackageBinary
check@staydistributed/checkstaydistributed-check
signal@staydistributed/signalstaydistributed-signal