To create a new Next.js project, run

npx create-next-app@latest

You’ll be prompted with a few questions. These are to know what kind of things you need, like

And that's it, you're done!

Next.js will now install all the necessary dependencies, and within a few seconds, your project will be ready to go.