installing express on node code example Example 1: install express npm i express Example 2: express install $ npx express-generator