有没有办法检查你安装的gulp版本?

时间:2016-07-27 21:37:19

标签: html json git gulp

有没有办法检查您安装的gulp版本以及该网站提供的gulp版本?我在网上搜索过,查看了gulp网站,但找不到我需要放入JSON文件的版本。

2 个答案:

答案 0 :(得分:37)

只需使用:gulp -v

来自文档:

https://github.com/gulpjs/gulp/blob/master/docs/CLI.md

答案 1 :(得分:2)

使用gulp -v对我不起作用(我收到错误'gulp' is not recognized as an internal or external command, operable program or batch file.,我安装了NPM,以下是对我有用的东西:

npm list gulp

相关问题