@alea-design/cli
Copy Alea components into your project and own the source.
npx @alea-design/cli init
npx @alea-design/cli add button select dialog
ALEA_LICENSE_KEY=... npx @alea-design/cli add data-grid # Alea Pro
The same commands with the other package managers (the package has one command, alea, so the package name is enough):
| Manager | Run the CLI |
|---|---|
| npm | npx @alea-design/cli init |
| pnpm | pnpm dlx @alea-design/cli init |
| Yarn 2 or later | yarn dlx @alea-design/cli init |
| Bun | bunx @alea-design/cli init |
| Deno | deno run -A npm:@alea-design/cli init |
Replace init with add button select, list or any other command. init and add install the peers with the manager of the project: they look for pnpm-lock.yaml, yarn.lock, bun.lock or bun.lockb, and deno.lock (or a deno.json without a package.json), and use npm otherwise; in a Deno project they run deno add npm:....
init installs the peers the components need, pinned to the ranges @alea-design/ui depends on (react-aria-components, lucide-react@^0.525.0, @alea-design/motion); with --no-install it prints the command instead. The copied components type-check with React 18 and React 19 types.
alea audit runs the quality audit of @alea-design/audit (alea audit init, alea audit list, alea audit --shard 1/3). The CLI does not depend on it or on Playwright: it finds the package in your project and tells you what to install when it is missing.
Docs: https://alea.alevasquez.dev/installation?utm_source=npm&utm_medium=readme&utm_campaign=alea-cli · MIT license