Cookest UI CLI
A zero-config command-line tool for adding Cookest UI components directly to your React or Flutter project — no setup, no friction.
No install required — run with npx or bunx:
bunx @cookest/ui-cli [command]Workflow
Initialize your project
Run init inside your project root. The CLI auto-detects your framework and package manager — no questions asked.
Generated .cookestrc:
"framework": "react",
"componentsDir": "src/components/ui"
}
Explore available components
Use list to see all components grouped by category, with their full description. Filter by name or tag.
Add components to your project
Run add with one or more component names. Files are fetched from the registry and written directly into your project — ready to customize.
Commands
cookest-ui init--yesCreate .cookestrc in the current project. Auto-detects framework and package manager. Use --yes to skip confirmation prompts.
cookest-ui list[filter]List all available components grouped by category. Pass a string to filter by name, description, or tag.
cookest-ui add <name>--overwriteAdd one or more components to your project. Fetches source files from the registry. Use --overwrite to replace existing files.
cookest-ui diff <name>--allCompare your local component files against the registry source. Useful when upgrading.
cookest-ui completion [shell]bash · zsh · fishPrint a shell completion script. Pipe it into your shell config to get tab completion for all commands and component names.
Shell Autocomplete
Install globally once, then register completion for your shell. Gives you tab completion for all commands and component names.
cookest-ui add <TAB> shows all component names. cookest-ui <TAB> shows all commands.npm — @cookest/ui-cli
Available on npm. Use bunx, npx, or pnpx to run without installing globally.
bunx @cookest/ui-clinpx @cookest/ui-clipnpx @cookest/ui-cli