Install global dependencies from package.json
- Install many global packages at once.
- Install exact version of packages.
npm install -g npm-ig
Create package.json
,
{
"private": true,
"preferGlobal": true,
"dependencies": {
"add-dependency": "1.1.0",
"npm": "4.1.1"
}
}
Then run in the same directory,
npm-ig