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
- the name of your project, say, nextjs-15
- whether or not you want to use typescript—I'll go with yes.
- Since tailwind is a popular styling option these days, let's choose yes
- It will ask if you want to organize your code inside a src/ folder. I usually don't use it, but this is more of a preference than a feature.
- About the app router, say yes here, as it's a key feature of Next.js. Otherwise, 99% of the features will not work. You’ll get pages router instead.
- Regarding turbopack, choose yes. It's a next-generation bundler written in Rust, designed as a successor to Webpack. It offers faster startup, quicker updates, and improved memory efficiency.
- Next, you'll be asked if you want to customize the import alias from @/*. I prefer to keep it as is, so I'll say no.
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.

No Comments Yet
Be the first to share your thoughts and start the conversation.