Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions apps/v4/content/docs/installation/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ description: How to install dependencies and structure your app.

Start by selecting your framework of choice. Then follow the instructions to install the dependencies and structure your app. shadcn/ui is built to work with all React frameworks.

## CLI

Components are added using the shadcn CLI. Make sure you're using the correct command:

```bash
npx shadcn@latest add [component-name]
```

**Note:** The old `shadcn-cli` package is deprecated. Use `shadcn` instead.

<div className="mt-8 grid gap-4 sm:grid-cols-2 sm:gap-6">
<LinkedCard href="/docs/installation/next">
<svg
Expand Down
10 changes: 10 additions & 0 deletions apps/www/content/docs/installation/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,16 @@ description: How to install dependencies and structure your app.
</LinkedCard>
</div>

## CLI

Components are added using the shadcn CLI. Make sure you're using the correct command:

```bash
npx shadcn@latest add [component-name]
```

**Note:** The old `shadcn-cli` package is deprecated. Use `shadcn` instead.

## TypeScript

This project and the components are written in TypeScript. We recommend using TypeScript for your project as well.
Expand Down
Loading