npm 查看全局安装过的包

查看全局安装的包

npm list -g --depth 0

非全局安装的包

npm list --depth 0

如果不加参数 --depth 0会显示安装的包以及相关的依赖包,会显示的很详细。

 

posted @ 2018-01-26 13:58  viof7852  阅读(285)  评论(0编辑  收藏  举报