NylorunDocsBeta
RunConfigure

CLI

Every nylorun, nylo, and create-agent command.

Three tools. nylorun runs local Tenants. nylo talks to a Runtime. npm create @nylorun/agent writes a project.

npx nylorun

npx nylorun <start|stop|status|logs|studio|ls|reset|delete|sandbox|doctor|telemetry>

up and down are aliases of start and stop.

CommandFlagsExit notes
start / up--tenant <name>, --no-link, --no-studio, --no-open, --allow-downgrade, --restate-ui, --studio-embed-origin <origin>, --studio-embed-origin-resetCreates the Tenant on first run. Exit 5 if this nylorun pins an older Runtime than the Tenant last ran.
stop / down--tenant <name> or --allKeeps volumes. --all cannot combine with --tenant (exit 2).
status--tenant <name>, --json
logs [service]--tenant <name>, -f, --tail <n>Services: postgres, restate, s2-lite, rustfs, gateway, runtime, harness, studio, sandboxes.
studio--tenant <name>, --no-openSingle-use login, two minutes.
ls--json
reset--tenant <name>, --yesDeletes this Tenant's data.
delete <tenant>--yesRequired. Removes files and the vault key.
doctor--jsonNode, Docker, Compose v2, Tenant health.
telemetrystatus, enable, disableStudio page views.
sandbox ls--tenant <name>, --label <k=v>, --json
sandbox rm <id>--tenant <name>Refused while a turn runs.
sandbox enable--context <name>, --tenant <name>, --host-address, --bind-address, --no-pullPod sandboxes (preview).
sandbox disable--tenant <name>, --delete-namespace
sandbox status--tenant <name>, --json

Removed commands exit 2 naming the replacement: nylorun dev, nylorun configure, nylorun status --env, nylorun doctor sandbox.

npx @nylorun/cli (nylo)

npx @nylorun/cli <status|reset|endpoints|configure|env|doctor>

Talks to the linked Tenant, or to NYLORUN_RUNTIME_URL and NYLORUN_SERVER_KEY.

CommandFlagsRole
status--jsonTenant checks and counts.
reset--sessions, --sandboxes, --all, --yesClear Tenant data.
endpoints--jsonRegistered Action endpoints.
endpoints ping <agent>Signed ping through the Runtime.
configureModel wizard.
envPrints NYLORUN_RUNTIME_URL and NYLORUN_SERVER_KEY.
doctor sandbox--jsonWhich sandbox backend this Tenant uses.

npm create @nylorun/agent

npm create @nylorun/agent@beta <dir> [--yes]

Writes the starter project and installs dependencies. It starts nothing.

Next step

On this page