Nodejs on Mac


Step into NodeJS

Install Node it easy to install by go to Nodejs website then download and install it

Check node version :

$ node --version

Check npm version :

$ npm --version

Initial project by :

$ npm init

Install uuid dependencies :

$ npm install uuid

“nodemon” is program use to auto-update and restart every time that we save the code and we can install it by follow command below.

$ npm install -D nodemon

We can delete “node_modules” out from project before deploy to host and If download project we need to run “npm install” to install all dependencies back