Next.js
Quick start
Section titled “Quick start”tinkerise web next my-next-app --typescript --tailwind --eslinttinkerise web next my-next-app --no-install --package-manager pnpmWhen to use
Section titled “When to use”Use next when you want:
- React Server Components and file-based routing
- Built-in API routes and full-stack patterns
- A single framework for app UI and backend endpoints
Prerequisites
Section titled “Prerequisites”- Node.js
>=20.9.0 npxavailable in your Node install
Unified flags
Section titled “Unified flags”| tinkerise flag | Native create-next-app flag | Notes |
|---|---|---|
--typescript | --typescript or --ts | Mapping varies by create-next-app version |
--tailwind | --tailwind | Adds Tailwind setup in scaffold |
--eslint | --eslint | Enables linting setup in scaffold |
--biome | --biome | Use Biome linter/formatter (v16+) |
--no-git | --skip-git or --disable-git | Mapping varies by create-next-app version |
--no-install | --skip-install | Skips dependency install |
--package-manager <pm> | --use-<pm> | Supports npm, pnpm, yarn, bun |
--src-dir | --src-dir | Use src/ directory |
--import-alias <alias> | --import-alias | Import alias (e.g. @/*, ~/) |
--empty | --empty | Initialize with no starter content (v15+) |
--app-router | --app | Use App Router |
--react-compiler | --react-compiler | Enable React Compiler (v16+) |
--turbopack | --turbopack or (none) | Uses --turbopack on create-next-app v16.0-v16.1; v16.2+ already defaults to Turbopack |
--api | --api | Headless API project (v16+) |
Framework-specific behavior
Section titled “Framework-specific behavior”- tinkerise delegates to
create-next-app. --yesis auto-injected so all scaffolding runs non-interactively. Options not explicitly passed use create-next-app defaults, includingAGENTS.mdin current v16.2+ releases.- Registry version mappings handle create-next-app flag changes automatically (v14, v15+, v16.0-v16.1, v16.2+).
- Pass-through args are enabled, so native flags still work.
Generated output
Section titled “Generated output”You get the official Next.js scaffold output, including:
app/orsrc/app/route structure (depending on options)- Next.js config, TypeScript config, and package scripts
- Optional Tailwind and ESLint setup based on selected flags
Related enhancements
Section titled “Related enhancements”Command reference
Section titled “Command reference”See full CLI flags: /reference/commands/