npm 查看全局安装过的包 npm list -g --depth 0 -g:全局的安装包 list:已安装的node包 –depth 0:这个参数我就不清楚了,可能是深度0,搜了一下没有找到解释 原文链接:https://www.phpsong.com/2257.html