1npx create-next-app <app name> //eg: npx create-next-app my-app
2cd my-app //to go to the folder
3npm run dev // to run the app
1npm init next-app nextjs-blog --example "https://github.com/vercel/next-learn-starter/tree/master/learn-starter"
1npx create-next-app nextjs-blog --use-npm --example "https://github.com/vercel/next-learn-starter/tree/master/learn-starter"
2