npm add vs install code example Example: how to install dependencies from package.json npm install // installs dependencies listed in package.json