When I download a project from my repo with a package.json
in its root, which command is the right one to use npm install
or npm install restore
?
The behaviour of npm install
is
npm install
without any argument will install all packages found in package.json
in node_modules
folder.
npm install <package_name>
will install package_name
. In your case will download restore
package and will save it in node_modules
folder. (https://www.npmjs.com/package/restore)