1. Create Next React App
1. Create Next React App
Step 1: Create Your Next.js Project
Open Cursor and Create Your Project
- Open Cursor
- Open the terminal (Terminal → New Terminal or Ctrl+` / Cmd+`)
- Navigate to your projects folder (or wherever you want to create the project)
- Create a new Next.js project with TypeScript:
npx create-next-app@latest appName --typescript
When prompted, respond to each question:
- Which linter would you like to use? → Press Enter for ESLint (default)
- Would you like to use React Compiler? → Type
nand press Enter for No - Would you like to use Tailwind CSS? → Type
yand press Enter for Yes - Would you like your code inside a
src/directory? → Typenand press Enter for No - Would you like to use App Router? (recommended) → Type
nand press Enter for No (we're using Pages Router) - Would you like to customize the import alias? → Type
nand press Enter for No - Would you like to use Turbopack? (recommended) → Type
nand press Enter for No (we'll keep the standard build for compatibility)
This creates a new Next.js project with:
- Pages Router (the stable, battle-tested routing system)
- TypeScript for type safety
- ESLint for catching errors and enforcing code quality
- Tailwind CSS for utility-first styling
Open Your Project
- In Cursor: File → Open Folder → Select the "saas" folder that was just created
- You'll see several files and folders that Next.js created automatically