Skip to content
VenusUI
Get started
Docs

Install Next.js

Create a new Next.js app with TypeScript, Tailwind CSS and the App Router.

Create the app

  1. Step 1: Run create-next-app

    npx create-next-app@latest my-app --ts --tailwind --eslint --app --src-dir --import-alias "@/*"
    • --ts TypeScript, --tailwind Tailwind CSS v4, --eslint linting.
    • --app the App Router, --src-dir code in src/, --import-alias "@/*" imports like @/components/....
    • The CLI may ask a few more questions (for example about React Compiler). The defaults are fine.
  2. Step 2: Start the dev server

    cd my-app && npm run dev

    Open http://localhost:3000 to check it works.

Next

Tailwind CSS is already set up. Continue with npx shadcn@latest init (see Add utilities).