chore: add create command to readme (#9126)

This commit is contained in:
shadcn
2025-12-17 22:02:28 +04:00
committed by GitHub
parent c0de90e1a1
commit df67e49aac
2 changed files with 16 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
---
"shadcn": patch
---
add create command to readme

View File

@@ -2,11 +2,19 @@
A CLI for adding components to your project.
## Usage
## create
Use the `create` command to create a new project. You will be taken to a website to build your custom design system and choose your framework.
```bash
npx shadcn create
```
## init
Use the `init` command to initialize dependencies for a new project.
The `init` command installs dependencies, adds the `cn` util, configures `tailwind.config.js`, and CSS variables for the project.
The `init` command installs dependencies, adds the `cn` util, configures Tailwind CSS, and CSS variables for the project.
```bash
npx shadcn init
@@ -40,4 +48,4 @@ Visit https://ui.shadcn.com/docs/cli to view the documentation.
## License
Licensed under the [MIT license](https://github.com/shadcn/ui/blob/main/LICENSE.md).
Licensed under the [MIT license](https://github.com/shadcn-ui/ui/blob/main/LICENSE.md).