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.
gulp is a JavaScript library. It lets you use gulp from JavaScript code. gulp-cli is a utility program that lets you access gulp from your shell. Follow this answer to receive notifications.
Upgrading gulp to v4 Once globally installed, gulp v4 will then need to be installed on a per-project basis. If in your package. json file gulp is listed under dependencies , then replace the --save-dev with just --save .
Gulp 3.9. 1 will work with Node 8 (latest noded 8 is 8.17. 0) and with nothing newer.
gulp: The streaming build system. Build system automating tasks: minification and copying of all JavaScript files, static images. More capable of watching files to automatically rerun the task when a file changes; npm: The package manager for JavaScript. npm is the command-line interface to the npm ecosystem.
Simply use: gulp -v
From the docs:
https://github.com/gulpjs/gulp/blob/master/docs/CLI.md
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With