1. installing node-package-manager `sudo apt-get install npm` 2. now cd to the project file // this will install express lib, it will help to establish the server `npm install express --save` // this will install postgresql lib, it will help to make the connection to the database `npm install pg@6.4.0 --save` // run the server by node server.js