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