How do I install gulp 4

dave dave picture dave dave · Oct 30, 2015 · Viewed 48.2k times · Source

I've been using gulp-watch. The current version of gulp-watch relies on the call gulp.parrallel. This call is only available from gulp 4.

However gulp 4 is not available via the npm repo. npm info gulp dist-tags returns: { latest: '3.9.0' }.

I can see that there is a 4.0 branch within the git repo. But attempting to install it with variations on this command fails: npm install https://github.com/gulpjs/gulp#v4.0.0.

Answer

Andor Lundgren picture Andor Lundgren · Dec 5, 2015
npm install gulpjs/gulp.git#4.0 --save-dev