2

I have git project downloaded in dir d:/myapp. I have npm 3.10.10 and node 6.11 install on my windows machine. But while runnning Install npm from git bash commd line to install all dependent node module...i get error as below:

$ install npm install: missing destination file operand after 'npm' Try 'install --help' for more information.

Programmer_DSci
  • 21
  • 2
  • 2
  • 3

1 Answers1

11

The command to install npm modules is just npm install. It looks you are doing install npm install, with an extra "install" before npm.

Here are the official docs for npm install showing the different options. Note that npm is always the first command for any npm commands, whether it's install, start, etc.

Dharman
  • 30,962
  • 25
  • 85
  • 135
Alexander Staroselsky
  • 37,209
  • 15
  • 79
  • 91