start next app code example
Example 1: create next js app yarn
yarn create next-app
Example 2: make nextjs project
npx create-next-app
# or
yarn create next-app
yarn create next-app
npx create-next-app
# or
yarn create next-app