This automated shell script allows you to quickly create a new Next.js project with predefined configurations and dependencies.
-
Download the
create-nextjs-project.sh
script to your machine. -
Run the script using the following command:
./create-nextjs-project.sh # or bash ./create-nextjs-project
-
Follow the instructions to select the package manager, name your project, install dependencies, etc.
- Select the package manager (npm, yarn, pnpm, bun).
- Automatically configure style files with Tailwind CSS.
- Install
prettier-plugin-tailwindcss
for better code formatting. - Optionally install dependencies like
react-query
andzod
,vitest
.