Difference between `npm link x` and `npm install /path/to/x`
问题 I thought I understood the difference between npm link x and npm install /local/path/to/x originally I thought the former created a symlink to x, whereas the latter installed a separate copy of x in your project, instead of symlinking it. However, I recently noticed that my original impression was wrong, and they both seem to use symlinks - so is there a difference between the two and what is it? 回答1: An article on Medium by Alex Mills lays it out bare. It says the difference between npm link