On this page

Find and use packs

Packs are reusable implementations: they turn your definitions into NestJS controllers, TypeORM entities, Zod schemas, FastAPI routes, Flutter clients and more. Official packs are published to the Dryv pack registry, which the Platform API serves publicly. The CLI and the pack catalogue both read it, with no sign-in.

Search and read

terminal
dryv pack search validation         # find packs by name, language, framework or tag
dryv pack info inject/backend/nestjs
dryv pack describe inject/backend/nestjs   # the full README, what it needs and provides
dryv pack explain inject/backend/nestjs    # how to bind and activate it in dryv.yaml

Use --json for scripts and agents. Retired packs stay readable but are marked retired.

Add a pack

terminal
dryv pack add inject/backend/nestjs --activation server --destination src/server --yes

This writes an explicit activation to dryv.yaml, pinned to the commit the registry has published, so your generation is repeatable. The registry only tracks each pack's latest state; GitHub (dryvcode/packs) keeps the history. Move to a newer commit on purpose with dryv pack update.

Needs and provides

A pack can need capabilities from other packs, for example schema.persistence. Bind them in dryv.yaml:

yaml
packs:
  server:
    source: { $ref: "#/sources/packs/official", path: inject/backend/nestjs }
    destination: { $ref: "#/destinations/server" }
    bind:
      schema.persistence: { $ref: "#/packs/entities" }

dryv pack explain lists exactly which capabilities a pack needs.

Offline and your own packs

Without network access the CLI falls back to a local checkout of the packs repository (DRYV_PACKS_REPO). To build your own packs see Extensibility and dryv pack init.

Search in