列出所安装的包: npm list 复制代码安装你定义的包 npm install testsPackage\ // install ....紧接路径 复制代码实际效果: 转载于:https://juejin.im/post/5a3215dc6fb9a045076fafc4