Reputation: 2425
Is there any way to check what gulp version you have installed and also what version of gulp is being offered by the website? I've searched online, and looked at the gulp website, but cannot find the version I need to put in my JSON file.
Upvotes: 41
Views: 89576
Reputation: 5615
gulp -v
will not work if you don't have gulp-cli installed (you will get the error 'gulp' is not recognized as an internal or external command, operable program or batch file.
).
So 2 options:
npm -g install gulp-cli
then run gulp -v
npm list gulp
Upvotes: 20
Reputation: 2449
Simply use: gulp -v
From the docs:
https://github.com/gulpjs/gulp/blob/master/docs/CLI.md
Upvotes: 60