install npm package and all dependencies code example Example: install all dependencies npm # from package.json dependancy list $ npm i