npx create-next-app@latest --ts // or yarn create next-app --typescript
// create a tsconfig touch tsconfig.json // run command `npm run dev` npm run dev