Skip to content

repoctl Overview

repoctl is the user-facing package name for this monorepo toolkit. Its recommended command is repo.

The CLI does not replace pnpm, Turborepo, or changesets. It gives teams a stable layer for common monorepo actions: setup, diagnostics, scaffolding, local verification, and template asset upgrades.

When To Use It

GoalCommand
Add recommended scripts and workspace defaultspnpm exec repo init
Check whether a repository is ready to developpnpm exec repo doctor
Create a package, app, docs site, service, or CLIpnpm exec repo new
Reproduce the recommended pre-commit or pre-push flowpnpm exec repo check
Sync newer standard assets from the templatepnpm exec repo upgrade
Persist output for CI, editors, or issue reports--json --out <file>

repo:* Root Scripts

bash
pnpm run repo:init
pnpm run repo:doctor
pnpm run repo:new
pnpm run repo:check

These are the best commands for day-to-day team docs. They are short, explicit, and do not collide with pnpm built-in commands.

Explicit CLI Calls

bash
pnpm exec repo init
pnpm exec repo doctor
pnpm exec repo templates
pnpm exec repo new sdk --template tsdown
pnpm exec repo check --dry-run

Use this form in CI, scripts, troubleshooting docs, and reproducible examples.

Grouped Commands

bash
pnpm exec repo ws ls
pnpm exec repo tg init --all
pnpm exec repo env support --markdown --redact
pnpm exec repo config inspect

Grouped commands are for maintainers and automation that need finer control.

Command Entrypoints

The package exposes multiple bins:

bash
pnpm exec repoctl doctor
pnpm exec repoctl new

The docs prefer repo so new users only need to remember one command name.

Keep Reading