express generator dependencies automatically install code example Example 1: install express npm i express Example 2: generate express app $ npx express-generator