Installation
Check node version in your system.
$ node -v
open your terminal -> Choose any directory.
$ npx create-next-app@latest (this will ask the project name)
$ npx create-next-app@latest my-app (‘my-app’ is the app name)
$cd my-app
$npm run dev
Now you should see the default design comes with NextJS in browser localhost:3000.