mac install np, code example Example 1: install npm mac brew install node Example 2: download npm package $ npm install download