npx create-next-app@latest --ts # or yarn create next-app --typescript # or pnpm create next-app --ts