# Install

Initialize shadcn in an existing React project:

```bash
npx @qentrah/dui init
```

Add a DUI component using the npm shortcut:

```bash
npx @qentrah/dui add button
```

You can also use the shadcn CLI directly:

```bash
npx shadcn@latest add qentrah/DUI/button
```

You can install multiple items:

```bash
npx @qentrah/dui add button input card
```

Preview an installation without writing files:

```bash
npx @qentrah/dui add button --dry-run
```

Pin a release or commit for reproducible installations:

```bash
npx shadcn@latest add qentrah/DUI/button#v0.1.0
```