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