clilyruntime-aware CLI docs
Getting started

Installation

Add @clily/core and your preferred Standard Schema library.

Requirements

  • Node.js 22.12 or newer for monorepo development
  • A Standard Schema-compatible validation library such as Valibot, Zod, or ArkType

If you are working inside this monorepo, use the Vite+ wrapper commands documented in the repository.

Install the package

vp add @clily/core valibot

You can swap valibot for zod or arktype depending on your preferred schema authoring style.

What gets installed

  • @clily/core for command definition, config loading, prompts, help, completions, and runtime handling
  • your schema library for validation and type inference

Go straight to first command and build a command with:

  • one global flag
  • one child command
  • completion generation enabled

That is enough to understand the core architecture.

On this page