Download the Installer from NodeJs official website. Make sure you have downloaded the latest version of NodeJs. It includes the NPM package manager.
If you haven't already initialized your project as a Node.js project, you can do so by running npm init in your project directory. This command will create a package.json file, which contains metadata about your project and its dependencies.
If your project has dependencies listed in the package.json file, you need to install them. You can do this by running npm install. This will download and install all the dependencies listed in your package.json file.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.