FoundryKit

CLI

The current FoundryKit command-line interface.

CLI

@foundrykit/cli is the registry-aware installer and project bootstrap tool for FoundryKit. The current top-level commands are init, list, add, update, and doctor.

Install

pnpm add -D @foundrykit/cli

What It Does

  • Initializes a Next.js project for FoundryKit usage.
  • Lists registry components and blocks.
  • Adds or updates registry-backed components in an initialized project.
  • Validates project health and registry connectivity.

The CLI currently assumes a Next.js project and a foundrykit.config.json file for registry and install path settings.

On this page