Installation & Setup
Installation & Setup
# Installation & Setup
System Requirements:
- Node.js 18.17 or later.
- macOS, Windows (including WSL), and Linux are supported.
## Automatic Installation
We recommend starting a new Next.js app using `create-next-app`, which sets up everything automatically for you. To create a project, run:
```bash
npx create-next-app@latest
```
On installation, you'll see the following prompts:
```text
What is your project named? my-app
Would you like to use TypeScript? No / Yes
Would you like to use ESLint? No / Yes
Would you like to use Tailwind CSS? No / Yes
Would you like to use `src/` directory? No / Yes
Would you like to use App Router? (recommended) No / Yes
Would you like to customize the default import alias (@/*)? No / Yes
```
After the prompts, `create-next-app` will create a folder with your project name and install the required dependencies.
## Run the Development Server
Navigate into your project directory and start the server:
```bash
cd my-app
npm run dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
System Requirements:
- Node.js 18.17 or later.
- macOS, Windows (including WSL), and Linux are supported.
## Automatic Installation
We recommend starting a new Next.js app using `create-next-app`, which sets up everything automatically for you. To create a project, run:
```bash
npx create-next-app@latest
```
On installation, you'll see the following prompts:
```text
What is your project named? my-app
Would you like to use TypeScript? No / Yes
Would you like to use ESLint? No / Yes
Would you like to use Tailwind CSS? No / Yes
Would you like to use `src/` directory? No / Yes
Would you like to use App Router? (recommended) No / Yes
Would you like to customize the default import alias (@/*)? No / Yes
```
After the prompts, `create-next-app` will create a folder with your project name and install the required dependencies.
## Run the Development Server
Navigate into your project directory and start the server:
```bash
cd my-app
npm run dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.