CLI

The ghost-ui CLI mirrors the shadcn workflow for React Native.

init

Configure Metro, Babel, Tailwind, and seed utils/theme.

npx ghost-ui-native init --yes

add

Copy components from the registry into your project.

npx ghost-ui-native add button card dialog

add --all

Install every registry component.

npx ghost-ui-native add --all --yes

list

List available registry items.

npx ghost-ui-native list

doctor

Verify NativeWind, Metro, Babel, and alias setup.

npx ghost-ui-native doctor

Flags

  • --yes — skip prompts and install dependencies
  • --overwrite — replace existing config files
  • --dry-run — preview without writing files