For development, you will need only Node.js installed in your environment.
Just go on official Node.js website and download the installer according to your system specifications.
If the installation was successful, you should be able to run the following commands:
node --version
npm --version
Make sure these two commands show versions not error.
Now open any text editor you want and in editor's terminal run this command:
npm init
Follow the steps and answer some questions and this will create necesssary folders in your working directory.
Now install nodemon with this command:
npm i -g nodemon
This will download nodemon globally.
Now install express with this command:
npm i -g express
This will download expess globally.
Now install mongoose with this command:
npm i -g mongoose
This will download mongoose globally.
Also you can run the files by the help of nodemon using this command:
nodemon "filename"
By the help of this command you did not start the server again and again and also this command will only run js files.
You can install various tools necessary for your production with this command:
npm i -g "nameoftool"
This will download that tool globally.
Now download the code.
node "filename"
nodemon "filename"