New Node JS Project Setup – Terminal Commands

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.

About the Author: smartcoder

You might like

Leave a Reply

Your email address will not be published. Required fields are marked *