Skip to main content
reference
4 commands

CLI reference.

The entrepta CLI copies components and tokens directly into your project. No SDK, no runtime wrapper. You own the source.

First run
quick try
terminal · zsh
~/your-appbash
$ npx @entrepta/cli@latest init --theme=entrepta
→ wrote app/globals.css
→ created entrepta.json
$ npx @entrepta/cli@latest add button
→ copied components/entrepta/button.tsx
Commands
4 commands
init2 flags

$ npx @entrepta/cli@latest init

Bootstraps a project. Writes globals.css, lib/utils.ts, and entrepta.json. Prompts for a theme.

--theme=<preset>Skip the theme prompt
--overwriteOverwrite existing files without asking
copy paste, no install
add1 flag

$ npx @entrepta/cli@latest add <component>

Copies one or more components into your project. Resolves dependencies automatically.

--overwriteOverwrite without confirming
copy paste, no install
add (interactive)no flags

$ npx @entrepta/cli@latest add

Same as above, no args. Opens a picker with every available component.

copy paste, no install
diffno flags

$ npx @entrepta/cli@latest diff <component>

Shows the diff between your local copy of a component and the current registry version.

copy paste, no install
Active theme: entrepta, dark mode.