命令全局安装(global)本安装(local)式区别带参数-g带参数-g 具体区别: 依.安装位置: npm install moduleName 则模块载前命令行所目录 npm install moduleName -g 模块载安装全局目