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