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