A simple interactive CLI tool to quickly scaffold a Vite + React project with TypeScript/JavaScript, state management options, and Tailwind CSS 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
- 🔌 Installs commonly used dependencies:
- axios
- react-router-dom
- tailwindcss
- Optional: Recoil, Redux Toolkit, Zustand
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: (Use arrow keys)
▸ TypeScript
JavaScript
? Select the state management:
▸ None
Recoil
Redux
Zustand
It will:
- Scaffold a new Vite + React project
- Install selected dependencies
- Add Tailwind CSS configuration automatically
- Get you ready to code 🚀
If you want to modify and test the CLI locally :
node index.jsAfter running the CLI, you'll get a standard Vite React project with Tailwind ready to use.
my-app
├── src
│ ├── App.tsx / App.jsx
│ ├── main.tsx / main.jsx
│ └── index.css
├── vite.config.ts / vite.config.js
├── package.json
└── tailwind.config.js
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.
Made with ❤️ by Dibakar