Skip to content
PackagesTooling and testingDocs 1.3.x

@connectum/cli ​

Command-line scaffolding, service generation, package-version reporting, and reflection-based proto synchronization.

Install ​

bash
npm install -D @connectum/cli
bash
pnpm add -D @connectum/cli
bash
bun add -d @connectum/cli

The CLI keeps @bufbuild/protobuf, @connectrpc/connect and @connectrpc/connect-node as its own regular dependencies: it is an executable, so it is outside the single-copy guarantee that the runtime packages give through peer dependencies. That includes the FileRegistry exposed by @connectum/cli/utils/reflection.

Start Here ​

bash
npx @connectum/cli init payments
cd payments
npx @connectum/cli generate service invoices
npx @connectum/cli --version

Key Entry Points ​

Entry pointUse it to
connectum initCreate a service from the version-pinned official base.
connectum generate serviceAdd a service contract and implementation.
connectum proto syncDiscover and generate types from server reflection.

Learn / Configure / API Reference ​

Compare all Connectum packages by capability.