xxxxxxxxxx
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
xxxxxxxxxx
$ npx create-next-app@latest
# or
$ yarn create next-app
# or
$ pnpm create next-app
xxxxxxxxxx
npm init next-app nextjs-blog --example "https://github.com/vercel/next-learn-starter/tree/master/learn-starter"
xxxxxxxxxx
A new way to create a next js app with all the comes with preconfiged and starter template to boost your productivity
npx nextjs-app projectname