JollyUI
  1. Docs
  2. installation
  3. CLI

CLI

Use the command line to add Jolly-UI components to your application.

Add components from CLI

There are two ways to add components to your project using the CLI.

  1. Using the REGISTRY_URL environment variable. (Reccommended as it will follow the shadcn components.json config)

  2. Using the components URL. (Note you will need to specify the style, e.g https://jollyui.dev/new-york/button)

Using the REGISTRY_URL environment variable

REGISTRY_URL=https://jollyui.dev/r npx shadcn@latest add button

Using the components URL

npx shadcn@latest add https://jollyui.dev/default/button