The zen CLI
zen is the command-line interface. It forwards to a configured server or a local installation, so every command maps to a REST call you could make directly.
# Invoke a flow with parameterszen invoke-flow hello -p message="Hi there"
# Invoke against a specific environmentzen invoke-flow product-sync --env staging
# Read an invocation's logs (supports live tailing)zen logs <invocation-id>
# Validate an entity file before it reaches runtimezen validate config/connections/foo/definition.yamlSecrets
Section titled “Secrets”# Set (or rotate) a secret — same path overwriteszen secrets set prod/db connection-string="Server=prod-db;Database=warehouse;…"Config & API keys
Section titled “Config & API keys”zen config set api-key <key>API key rotation goes through rotate-api-key / delete-api-key (the old key keeps working until deleted) — see Roles & API Keys.
Service lifecycle (systemd / Windows)
Section titled “Service lifecycle (systemd / Windows)”zen service install \ --dir /opt/zenvara --port 5000 \ --service-user zenvara --data-dir /var/lib/zenvarazen service startzen service status
# IIS variantzen iis install --dir C:\Services\Zenvara --port 5000Application binary
Section titled “Application binary”# Fetch a binary to a directoryzen app fetch --url https://artifacts.example.com/zenvara-linux-x64.tar.gz --dir /opt/zenvara
# Upgrade in place (pin the artifact with --sha256)zen app update --url <url> --sha256 <hash>
# Roll back to the previous artifactzen app rollbackBackups
Section titled “Backups”zen backup create --categories flows,environments,secretszen backup listzen backup restore <backup-id>Config versioning
Section titled “Config versioning”# Revert a config change (Git versioning enabled)zen versions revert <ref>Quick reference
Section titled “Quick reference”| Task | Command |
|---|---|
| Run a flow | zen invoke-flow <name> -p k=v |
| Tail logs | zen logs <invocation-id> |
| Validate a file | zen validate <path> |
| Set/rotate a secret | zen secrets set <path> key=value |
| Install the service | zen service install … |
| Upgrade the binary | zen app update --url … --sha256 … |
| Roll back the binary | zen app rollback |
| Roll back config | zen versions revert <ref> |
| Back up | zen backup create --categories … |