install node module express code example Example 1: install express $ npm install express --save Example 2: install express npm i express