Issac
0
Q:

how to install dependencies from package.json

npm install packageName --save-dev
1
#how to install project dependecies when you download project

# example:
npm install

#NOTE:: by entering only this command your all dependecies will automatically installed.
3
npm install // installs dependencies listed in package.json
1
npm install (with no args, in package dir)
npm install [<@scope>/]<name>
npm install [<@scope>/]<name>@<tag>
npm install [<@scope>/]<name>@<version>
npm install [<@scope>/]<name>@<version range>
npm install <git-host>:<git-user>/<repo-name>
npm install <git repo url>
npm install <tarball file>
npm install <tarball url>
npm install <folder>

aliases: npm i, npm add
common options: [-P|--save-prod|-D|--save-dev|-O|--save-optional] [-E|--save-exact] [-B|--save-bundle] [--no-save] [--dry-run]
1
dependencies are the modules that the project relies on to function properly.
1

New to Communities?

Join the community