A simple interactive CLI tool to quickly scaffold a Vite + React project with TypeScript/JavaScript, state management, Tailwind CSS, shadcn/ui, and more — all pre-configured.
- 🛠️ Create a new React + Vite project in seconds
- 📦 Supports JavaScript and TypeScript templates
- ⚛️ Choose your state management: Recoil, Redux Toolkit, Zustand, or none
- 🎨 Tailwind CSS automatically configured with Vite plugin
- 🧩 Optional shadcn/ui setup with
@path alias pre-configured - 🔌 Optional Socket.IO client
- 🗂️ Optional Git initialization with an initial commit
- 📦 Installs commonly used dependencies:
- axios
- react-router-dom
- tailwindcss
- Optional: Recoil, Redux Toolkit, Zustand
- Optional: shadcn/ui, socket.io-client
Run directly with npm create:
npm create react-boot@latestWelcome to React Setup CLI!
? Enter the project name ( Enter . for current directory ) : my-app
? Select the language:
▸ TypeScript
JavaScript
? Initialize a git repository? (Y/n)
? Select the state management:
▸ None
Recoil
Redux
Zustand
? Would you like to add shadcn/ui? (y/N)
? Would you like to use Socket.IO? (y/N)
It will:
- Scaffold a new Vite + React project
- Install selected dependencies
- Configure Tailwind CSS automatically
- Set up shadcn/ui with path aliases (if selected)
- Initialize a Git repository with an initial commit (if selected)
- Get you ready to code 🚀
After running the CLI, you'll get a standard Vite + React project with everything ready to use:
my-app
├── src
│ ├── App.tsx / App.jsx
│ ├── main.tsx / main.jsx
│ └── index.css
├── vite.config.ts / vite.config.js
├── tsconfig.json (TypeScript only)
├── tsconfig.app.json (TypeScript only)
└── package.json
If shadcn/ui was selected, the @ alias is configured so you can import like:
import { Button } from "@/components/ui/button"After setup is complete:
cd my-app
npm run devOr, if you chose . for the current directory:
npm run devPRs are welcome! If you'd like to add features or fix issues, please open an issue first to discuss your idea.
This project is licensed under the MIT License. See the LICENSE file for details.
Made with ❤️ by Dibakar