获取npm 全局默认安装包文件路径:npm config get prefix 设置默认路径: npm config set prefix "C:\Users\Default\AppData\Roaming\npm\node_modules"