creat next app code example
Example 1: create next app
npx create-next-app my-app
Example 2: create next js app yarn
yarn create next-app
Example 3: create next js app
npm init next-app nextjs-blog --example "https://github.com/vercel/next-learn-starter/tree/master/learn-starter"