Gulp 4 – How to install Gulp 4 alpha version


As per removal of 4.0 branch in Gulp repo. User’s have now the following methods to install gulp:

#gulp v4.0.0
npm install gulp@next

#gulp v4.0.0-alpha.3
npm install gulpjs/gulp#v4.0.0-alpha.3

#gulp v3.9.1
npm install gulp

Remove Existing Gulp

# from global
npm rm gulp -g
npm rm gulp-cli -g

# from local dev dependencies
cd [your-project-dir/]
npm rm gulp --save-dev
npm rm gulp --save
npm rm gulp --save-optional
npm cache clean