How to use Express JS Create a directory In that directory use command npm init (a package.json will be created Press Enter till he command ends) npm install express To install Express JS and run the file using localhost:number in app.listen in JS file