npm init is the command to create a node project.

npm init is a tool for creating (or modifying) a project’s package.json file.

When you enter the command npm init on your terminal, it will take you through a series of questions, for which, you can either go with default answers or can give different answers.

This is how it looks like in my terminal, after running npm init command.

And, here is the preview of package.json got created, after completing above process.

Once you created package.json, first step of creating node project is over.