nylo
Create and select Tenants, configure models, and print connection settings.
npx @nylorun/cli <tenant|configure|env|doctor> [flags]The @nylorun/cli package provides the nylo command. It talks to a running
Runtime; start the stack first with npx nylorun up.
tenant create
nylo tenant create [name]Creates a Tenant, links the current project (.nylorun/), and seeds its model
from .env (MODEL_PROVIDER, MODEL, MODEL_PROVIDER_API_KEY, optional
MODEL_PROVIDER_BASE_URL).
tenant current
nylo tenant currentPrints the Tenant this project is linked to.
tenant list
nylo tenant list [--json]Lists every Tenant on the Runtime.
tenant use
nylo tenant use <name-or-id>Links the current project to an existing Tenant.
tenant status
nylo tenant status [--json]Shows the linked Tenant's health.
tenant reset / tenant delete
nylo tenant reset
nylo tenant deletereset clears selected Tenant data. delete removes the Tenant. Removing
.nylorun/ only unlinks the project; it never deletes a Tenant.
configure
nylo configureInteractive wizard that sets the linked Tenant's provider, model, and key. It does not send a test request; verify in Studio.
env
nylo envPrints shell exports for the linked project:
eval "$(npx @nylorun/cli env)"doctor sandbox
nylo doctor sandbox [--json]Checks the linked Tenant's sandbox.
Exit codes
| Exit | Meaning |
|---|---|
| 0 | Success. |
| 1 | General or configuration failure. |
| 2 | Usage error or command moved to nylorun. |
| 6 | Runtime is not reachable. |
| 130 / 143 | Interrupted by SIGINT / SIGTERM. |