The dryv CLI is the client that owns your filesystem. It compiles your authored source, talks to the engine, shows diffs and writes generated files only after you approve. Install it with Installation. For every option of every command, see All CLI commands.
Engine URL. Defaults to DRYV_API_URL, then the Engine of the local daemon, which the CLI starts when needed.
--root <path>
Project root. Defaults to the current directory.
-y, --yes
Approve a known change without prompting. It never picks missing values.
--json
Print one machine-readable JSON result.
--no-input
Never prompt. Fail with a clear code when input is required.
-q, --quiet
Print only errors and the final result.
Use --json --no-input in CI and from agents. Results share one envelope (dryv.cli.result/v1alpha1) with stable codes such as DRYV_INPUT_REQUIRED, DRYV_TRUST_REQUIRED, DRYV_PLAN_STALE and DRYV_NOT_FOUND.
Previews and creates dryv.yaml, plus dryv/README.md and an AGENTS.md block for agents (--no-docs skips them). Refuses to overwrite one.
yes
dryv configure
Previews structured edits to dryv.yaml, such as build settings.
yes
dryv pack search
Searches the official pack catalogue.
no
dryv pack list / info
Lists packs, or shows one. Read from the Dryv registry.
no
dryv pack describe <id>
Prints a pack's README, what it needs and what it provides.
no
dryv pack explain <id>
Explains how to bind and activate it in dryv.yaml.
no
dryv pack add <id>
Adds a pack as an explicit activation in dryv.yaml.
yes
dryv pack remove
Removes an activation.
yes
dryv pack update
Moves a pack source to a new ref.
yes
dryv action list / add <preset>
Adds a ready-made action such as removing unused imports and attaches it to your destinations. See Clean up generated code.
yes
dryv pack catalog
Inspects the official pack catalogue.
no
dryv server setup
Writes a dryv.server.yaml that wires the API and template servers.
yes
The catalogue is for discovery only. pack add writes the exact source and ref into dryv.yaml, so what you generate with is always visible in your repository.
If you changed a managed file and your definition changed it too, Dryv reports a conflict instead of overwriting. Choose with --conflicts block|overwrite|keep on generate or apply. --yes alone never resolves a conflict.
Checks project, engine, pack catalogue and execution readiness.
dryv info
Shows the engine, its version and its template servers.
dryv capabilities
Shows which workflows this machine and engine support.
dryv trust / trust revoke
Grants or removes trust for running project-controlled code.
dryv local <action>
Manages the local daemon that runs your Engine: connect, start, status, restart, stop, logs, link. See Local daemon.
dryv update
Installs the latest Dryv release next to this one, verifies it and switches to it. See Update the CLI.
dryv login / logout
Signs in to or out of the Dryv Platform. Only needed to sync, publish, use private packs, use the Playground or export your data. See Sign in and sync.
dryv whoami
Shows the signed-in Dryv Platform identity.
dryv clean
Removes Dryv plans, journals, logs and caches stored outside the project.
Trust lets Dryv run your author compiler, install dependencies and run pack actions. It never approves file changes. In CI, grant it explicitly: Dryv never trusts a workspace on its own without a prompt.
The engine needs no key or token, whether it runs on your machine or you host it yourself. Everything on this page except login, logout, whoami and Platform sync works without signing in.
The Engine to use instead of the local daemon's Engine.
DRYV_PLATFORM_URL
The Dryv Platform API for login, logout, whoami, private packs and the pack catalogue, instead of https://api.dryvcode.com. Leave it unset to use Dryv.
DRYV_LOCAL_HOME
The local daemon's home. Defaults to ~/.dryv/local.
DRYV_LOCAL_COMMAND
The command that runs the local daemon, when the CLI cannot find it.
DRYV_CONFIG_HOME
Where the Platform session file is stored when no keychain is available.