查看npm安装信息和版本号 ---npm list grunt 如果要查看某个模块的版本号,可以使用命令如下: $ npm list grunt projectName@projectVersion /path/to/project/folder └── grunt@0.4.1