Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
56136287
Unverified
Commit
56136287
authored
Oct 22, 2025
by
Joseph
Committed by
GitHub
Oct 22, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: create-next-app react-compiler and new prompts (#85213)
update the create-next-app options and prompts
parent
950609f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
9 deletions
+23
-9
create-next-app.mdx
docs/01-app/03-api-reference/06-cli/create-next-app.mdx
+23
-9
No files found.
docs/01-app/03-api-reference/06-cli/create-next-app.mdx
View file @
56136287
...
@@ -25,6 +25,7 @@ The following options are available:
...
@@ -25,6 +25,7 @@ The following options are available:
| `--ts` or `--typescript` | Initialize as a TypeScript project (default) |
| `--ts` or `--typescript` | Initialize as a TypeScript project (default) |
| `--js` or `--javascript` | Initialize as a JavaScript project |
| `--js` or `--javascript` | Initialize as a JavaScript project |
| `--tailwind` | Initialize with Tailwind CSS config (default) |
| `--tailwind` | Initialize with Tailwind CSS config (default) |
| `--react-compiler` | Initialize with React Compiler enabled |
| `--eslint` | Initialize with ESLint config |
| `--eslint` | Initialize with ESLint config |
| `--biome` | Initialize with Biome config |
| `--biome` | Initialize with Biome config |
| `--no-linter` | Skip linter configuration |
| `--no-linter` | Skip linter configuration |
...
@@ -56,19 +57,32 @@ To create a new app using the default template, run the following command in you
...
@@ -56,19 +57,32 @@ To create a new app using the default template, run the following command in you
npx create-next-app@latest
npx create-next-app@latest
```
```
You will then be asked
the following prompts:
On installation, you'll see
the following prompts:
```txt filename="Terminal"
```txt filename="Terminal"
What is your project named? my-app
What is your project named? my-app
Would you like to use TypeScript? No / Yes
Would you like to use the recommended Next.js defaults?
Which linter would you like to use? ESLint / Biome / None
Yes, use recommended defaults - TypeScript, ESLint, Tailwind CSS, App Router, Turbopack
Would you like to use Tailwind CSS? No / Yes
No, reuse previous settings
Would you like your code inside a `src/` directory? No / Yes
No, customize settings - Choose your own preferences
Would you like to use App Router? (recommended) No / Yes
Would you like to use Turbopack? (recommended) No / Yes
Would you like to customize the import alias (`@/*` by default)? No / Yes
```
```
If you choose to `customize settings`, you'll see the following prompts:
```txt filename="Terminal"
Would you like to use TypeScript? No / Yes
Which linter would you like to use? ESLint / Biome / None
Would you like to use React Compiler? No / Yes
Would you like to use Tailwind CSS? No / Yes
Would you like your code inside a `src/` directory? No / Yes
Would you like to use App Router? (recommended) No / Yes
Would you like to use Turbopack? (recommended) No / Yes
Would you like to customize the import alias (`@/*` by default)? No / Yes
What import alias would you like configured? @/*
```
After the prompts, `create-next-app` will create a folder with your project name and install the required dependencies.
### Linter Options
### Linter Options
**ESLint**: The traditional and most popular JavaScript linter. Includes Next.js-specific rules from `@next/eslint-plugin-next`.
**ESLint**: The traditional and most popular JavaScript linter. Includes Next.js-specific rules from `@next/eslint-plugin-next`.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment