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