how install express js mac code example Example 1: install express npm i express Example 2: setup node js express basic setup npm init -y npm i express