20 ms·
I've never used Next.js so I decided to take a look. The first step in their Getting Started guide illustrates this pretty well... npx create-next-app@latest
by codazoda 5y ago
I've never used Next.js so I decided to take a look. The first step in their Getting Started guide illustrates this pretty well...
npx create-next-app@latest
# or
yarn create next-app
I would choose npx while my friend would choose yarn but there isn't a default or even an indication of why you might like either choice. We kinda just assume everyone already has a preference for npx or yarn.
This is really a Node or JavaScript problem and not an Next.js problem. Not that I have any idea how you might solve it. This is also just a single example and we tend to have these decisions at a lot of steps along the way.