Skip to main content
The Ryvn CLI lets you manage environments, services, installations, and deployments directly from your terminal. It connects to the same Ryvn API as the dashboard, so everything you can do in the UI is available from the command line. To install the CLI, sign in, or set it up for CI and agents, see Use the Ryvn CLI.

Core commands

The CLI is organized around verbs. Each verb operates on one or more resource types. Task-creating ryvn command operations watch until completion by default. Use --no-watch to return with a valid ryvn get installation-task monitoring command; because it skips task discovery, it does not print the task UUID. ryvn command pin and ryvn command unpin create no task and return immediately. ryvn command sync-artifacts prints the copy tasks it started or found and does not watch them. The sync-backed create, update, and delete verbs return their resource result without watching and do not take the command task-control flags. Run ryvn --help for the full command list, or ryvn <command> --help for details on any command. For more detail, see:

Holding a release

ryvn command pin and ryvn set version-pin hold the installation’s current release against release-channel updates without starting a deployment. If no running release has been reported, they hold the target release. Neither pin form accepts --version.
ryvn command enforce-deploy --version X pins X and starts an asynchronous deployment task. The hold persists after deployment.
enforce-deploy does not wait for a registry mirror that syncs artifacts. If the mirror does not hold the release’s artifacts yet, the deployment cannot pull them. ryvn command sync-artifacts --version X copies the artifacts of X into the mirror without deploying. It lists each artifact as available or copying and prints a ryvn describe installation-task command for each copy task. Run enforce-deploy with the same version once the copies complete. Running sync-artifacts again while a copy is in flight starts no new copy. The command returns an ArtifactSyncNotConfigured error when no mirror in the environment syncs artifacts.
unpin removes a hold created by pin or enforce-deploy and allows release-channel reconciliation. It does not roll back a deployment.

Git sync resource overview

ryvn get sync-resource (alias sync-resources) lists Git-sync resources. Filter by resource kind, sync status (synced, drifted, unmanaged), or UUID. Each flag can be repeated or comma-separated. Values within a flag are alternatives; the three filters intersect.
JSON output preserves the API envelope: gitSyncActive, counts, and resources. The table distinguishes inactive Git sync from an active configuration with no matching resources. Permission errors are reported by this command.

Git sync selectors

ryvn sync import --resolve-drift names resources with a selector. Environment-scoped kinds (service installations, blueprint installations) require an environment, either as an @<environment> suffix or with -e/--environment — both forms are accepted everywhere, but naming the environment twice is rejected, even when the values match. Org-scoped kinds (services, environments, blueprints, and the rest) reject an environment either way.
--resolve-drift also accepts the literal all and an inline JSON array. Each element carries its own kind and name, plus environment for environment-scoped kinds. Org-scoped kinds omit environment:
-e applies to a single selector only. Combining it with a JSON array or with all is rejected; use the array elements’ own fields instead.

Listing installations

ryvn get installation lists the installations you manage directly: standalone installations and children of your own or shared blueprints. Installations managed by the environment’s platform blueprint or by a marketplace blueprint are omitted by default; pass --all to include them.

Network metrics

ryvn metrics network shows the requests, errors, latency, and data for an installation, plus its slowest, busiest, and failing endpoints and its private connections.

Marketplace blueprints

The CLI supports browsing and installing marketplace blueprints. Marketplace blueprints use the ryvn.app/ prefix:

Resource shares

Share a private blueprint with named consumer organizations, or, from the hub organization, with every organization on the hub. Each audience names the release channel consumers install from and the permissions it grants (blueprint.read, blueprint.install, blueprint.discover by default) and who controls upgrades (managed or consumerApproved). Consumers see offered shares with --incoming and accept or decline them; installations of a shared blueprint follow the audience’s channel and show it as coming from the share.

Output formats

All commands that display data support JSON output: