Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Create Next Stack is a website and CLI tool used to easily set up the boilerplate of new Next.js apps.
Create Next Stack is a free, open-source boilerplate generator and CLI tool that scaffolds a new Next.js app with your choice of companion technologies, saving you from wiring them together yourself.
Create Next Stack is a website and command-line tool for setting up the boilerplate of new Next.js applications. It takes an app name and a set of feature flags as input and produces a working Next.js project with the selected technologies preconfigured. It runs on Node.js and is published on npm as an installable package, with a companion website at create-next-stack.com. The project is developed by akd-io, released under the MIT License, and its source code lives on GitHub at akd-io/create-next-stack.
--package-manager flag accepts pnpm, yarn, or npm, so the generated project uses your preferred tool.--router flag chooses between the App Router (default) and the Pages Router, matching your Next.js routing preference.--package-manager and --styling options, ensuring every generated project has an explicit package manager and styling method.Create Next Stack is for developers who are starting a new Next.js project and want to avoid manually integrating common libraries. It suits frontend developers who prefer Tailwind CSS or Emotion but also need React Query for data fetching and Prisma for database access. It also helps teams that want consistent project scaffolding with linting, formatting, and CI already configured, and it is useful for developers who are comfortable with the command line and want to generate a project with a single command.
--github-actions flag to add a GitHub Actions continuous integration pipeline to the generated repository.After installing the npm package, you run create-next-stack with an app name and flags. The command then generates a Next.js project in the specified directory, respecting the selected options such as the styling method and package manager. The help output, available via create-next-stack --help, lists all supported flags and their descriptions.
Create Next Stack is free and open source. It is distributed under the MIT License, and there are no paid tiers or usage restrictions.
Create Next App, the official scaffolding tool from Vercel, offers a single template next to Create Next Stack's multi-technology selection. For projects that need Tailwind, Prisma, and other integrations, Create Next Stack is an alternative to composing those pieces manually after running Create Next App.
Yes, Create Next Stack is free to use. The project is released under the MIT License, so you can use it for personal or commercial projects without cost.
The CLI requires you to choose a package manager from pnpm, yarn, or npm using the --package-manager flag. The generated project will then use the selected manager for its scripts and dependencies.
Yes, the --router flag lets you select between the App Router and the Pages Router. The default is the App Router, which is the recommended option.
You can choose from Emotion, Styled Components, Tailwind CSS, CSS Modules, or CSS Modules with Sass. The styling method is a required flag, so you must specify one when generating a project.
Yes, you can add a formatting pre-commit hook by passing the --formatting-pre-commit-hook flag, which requires Prettier to be selected. This sets up Husky and lint-staged to format code before each commit.
