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