node 常用命令 1.查看全局安装路径 $ npm root -g 2.查看 npm 基本配置 $ npm config ls 3.查看 npm 所有配置 $ npm config ls -l 4.查看安装的全局包 $ npm ls -g --depth=0