express js install code example Example 1: install express $ npm install express --save Example 2: express install $ npx express-generator