Initialize your project
Copy to clipboard
npx bearnie init
npx bearnie init
bunx bearnie init
bunx bearnie init
pnpm dlx bearnie init
pnpm dlx bearnie init
yarn dlx bearnie init
yarn dlx bearnie init
Sets up the cn utility, path aliases, and theme variables. Run this once before adding components.
Add components
Copy to clipboard
npx bearnie add button
npx bearnie add button
bunx bearnie add button
bunx bearnie add button
pnpm dlx bearnie add button
pnpm dlx bearnie add button
yarn dlx bearnie add button
yarn dlx bearnie add button
Add multiple components at once:
Copy to clipboard
npx bearnie add button card dialog tabs
npx bearnie add button card dialog tabs
bunx bearnie add button card dialog tabs
bunx bearnie add button card dialog tabs
pnpm dlx bearnie add button card dialog tabs
pnpm dlx bearnie add button card dialog tabs
yarn dlx bearnie add button card dialog tabs
yarn dlx bearnie add button card dialog tabs
Add everything:
Copy to clipboard
npx bearnie add --all
npx bearnie add --all
bunx bearnie add --all
bunx bearnie add --all
pnpm dlx bearnie add --all
pnpm dlx bearnie add --all
yarn dlx bearnie add --all
yarn dlx bearnie add --all
Components are copied to src/components/bearnie/. Required utilities go to src/utils/. You own the code.
List available components
Copy to clipboard
npx bearnie list
npx bearnie list
bunx bearnie list
bunx bearnie list
pnpm dlx bearnie list
pnpm dlx bearnie list
yarn dlx bearnie list
yarn dlx bearnie list
Shows all components grouped by category. Use --json for machine-readable output.
Options
| Flag | Description |
|---|---|
-y, --yes | Skip prompts, overwrite existing files |
-a, --all | Add all components |
--cwd <path> | Set working directory |
--json | Output as JSON (list command) |