CLI tool to initialize a modern, opinionated Next.js project with Bun and Ultracite. Optionally install shadcn UI, AI SDK, and AI Elements.
- Next.js + Bun + Tailwind CSS — Fast dev server, builds, and package management out of the box
- Ultracite + Biome — Zero-config linting, formatting, and pre-commit hooks via Husky
- Agent-ready —
AGENTS.mdwith coding guidelines, auto-formatting hooks, and workflow commands - GitHub CI — Built-in workflow for linting, type checking, and build verification
- Optional AI stack — shadcn components, Vercel AI SDK, and AI Elements optionally installed via flags
npx new-next [directory] [options]By default, this will set up the new Next.js project in the current directory. Optionally pass a directory path to set up the project there instead.
--shadcn— Include shadcn components--ai-sdk— Include AI SDK--ai-elements— Include AI Elements (requires--shadcn)
bun install
bun run src/index.ts --help
bun run buildLicensed under the MIT License.