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