FoundryKit

Commands

Current top-level commands supported by the FoundryKit CLI.

Commands

foundrykit init

  • Creates foundrykit.config.json.
  • Detects project structure and prepares install paths.
  • Installs the shared utils helper and updates package scripts.

foundrykit list

  • Reads available registry items.
  • Supports --category and --search filtering.

foundrykit add

  • Adds a component or block by registry id.
  • Supports interactive selection when no id is passed.
  • Supports --with-animation, --path, and --overwrite.

foundrykit update

  • Reinstalls an existing component or block with overwrite semantics.

foundrykit doctor

  • Verifies package.json and Next.js detection.
  • Verifies foundrykit.config.json and its required path shape.
  • Checks whether the configured registry is reachable.
foundrykit init
foundrykit list -c primitives
foundrykit add hero-minimal
foundrykit update hero-minimal
foundrykit doctor

On this page