how to install node with npm code example Example 1: intall npm npm install -g npm Example 2: download npm package $ npm install download