npm create next app code example Example 1: create next app npx create-next-app my-app Example 2: npx create next app npx create-next-app