packages download npm code example Example 1: download npm package $ npm install download Example 2: how to install npm packages npm i <package>