command to install node js express module code example Example 1: install express globally $ npm install express --no-save Example 2: install express npm i express