npm i express --g code example Example 1: npm express $ npm install express Example 2: express install $ npx express-generator