Firstly open the terminal and go to our folder location.
Create folder:
eg: mkdir FruitsProject
Move inside the folder using,
cd FruitsProject
Create entry js file –
code app.js
Intialize the npm using,
npm init -y
-y is used to accept all the default.