System Requirements:
Node.js 18.17 or later.
macOS, Windows (including WSL), and Linux are supported.
You can make sure you have node 18.17.0 by using nvm
, install npm install nvm
:
❯ nvm current
v18.16.0
``
If your current npm is less than 18.17.0 then you can install the latest with
```bash
❯ nvm install 18.17.0
Now we can see that our version of node is 18.17.0
Follow tutorial here
npx create-next-app@latest
After this you can install packages in that project:
npm install
Now you are able to run the project:
npm run dev
Final view should be like this: