npm install i command code example Example 1: install dependencies npm npm install Example 2: download npm package $ npm install download