CLI reference
Every command the lumioui binary ships.
lumioui init
npx @lumioui/cli init [-y] [-c ./my-app] [--no-wire] [--no-agents] Installs NativeWind, Reanimated, safe-area and SVG, copies the shared core into lib/lumioui, and writes global.css, tailwind.config.js, babel.config.js, metro.config.js and nativewind-env.d.ts where they're missing. Then it wires your root file (app/_layout, src/app/_layout or App): it imports global.css and wraps the app in LumioUI's ThemeProvider (imported as LumioThemeProvider, so it never clashes with React Navigation's). It also adds a LumioUI section to AGENTS.md for coding agents. --no-wire and --no-agents skip those two steps.
lumioui add
npx @lumioui/cli add button card
npx @lumioui/cli add pro/paywall-sheet
npx @lumioui/cli add --all
npx @lumioui/cli add badge --design glass
npx @lumioui/cli add button --overwrite --dry-run Resolves registryDependencies topologically (Kahn sort), installs nativeDeps with your package manager, writes files[].target. Prefix a name with pro/ for Pro items; they need a licence key (see login). When it's done it prints the import line and docs link for each item you asked for.
| flag | effect |
|---|---|
--all, -a | add every free component |
--design <design> | resolve a family name to its design variant — badge --design glass installs badge-glass (values today: lumo, glass); falls back to the base component with a warning when the variant doesn't exist |
--overwrite, -o | overwrite files that already exist in components/ui |
--dry-run | resolve + print the plan without writing files |
--cwd <path>, -c | run against a project other than process.cwd() |
lumioui login, whoami, logout
npx @lumioui/cli login # opens Account › License keys, then asks for the key
npx @lumioui/cli login --key lumio_…
npx @lumioui/cli whoami
npx @lumioui/cli logout login checks the key with the registry and saves it for every project on the computer (in ~/.config/lumioui/credentials.json, readable only by you). whoami shows the account, plan and where the key came from, and whether Pro installs will work. In CI, set LUMIO_LICENSE_KEY instead: an environment key always wins over a saved login. Avoid --key on shared machines, since it lands in your shell history.
lumioui skills
npx @lumioui/cli skills list
npx @lumioui/cli skills add lumioui # free
npx @lumioui/cli skills add lumio-taste lumio-taste-photo # Pro (log in first)
npx @lumioui/cli skills add lumio-taste --agent cursor Installs skills and design tastes for coding agents: .claude/skills/<name>/SKILL.md for Claude Code, .cursor/rules/<name>.mdc for Cursor (when the project has .cursor/, or with --agent cursor), and a list in AGENTS.md for every other agent. --agent takes claude, cursor and agents, comma-separated; --all installs everything your plan includes. Design tastes are Pro and use your login key.
lumioui list
npx @lumioui/cli list
npx @lumioui/cli list --pro
npx @lumioui/cli list --type screen Groups the catalog by section — screens by flow, blocks by parent component, components by category. --type accepts component, block, or screen.
lumioui doctor
npx @lumioui/cli doctor Checks the React Native project, the NativeWind, Reanimated, safe-area and SVG packages, the Babel preset, lumioui.json, components/ui, the theme files, whether your root file imports global.css and wraps the app in ThemeProvider, and, if you have a licence key, that the registry accepts it and the account has Pro.
// ask an llm