Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

Updating to Gulp 4

Brian Muenzenmeyer edited this page Sep 17, 2017 · 4 revisions

Gulp 4 uses an updated CLI which needs to be updated globally. This CLI is backwards compatible with any Gulp 3.X projects you may have locally.

# first uninstall gulp globally
npm uninstall gulp -g

# uninstall from your project directory, or delete node_modules if you need a coffee break
npm uninstall gulp

# install the latest Gulp 4 CLI tools globally
npm install gulpjs/gulp-cli -g

Once done you can run npm install again from the edition-node-gulp repository and everything should be pulled down via npm

You can confirm the right versions are installed using

gulp -v
[22:35:42] CLI version 1.4.0 (at time of writing)
[22:35:42] Local version 4.0.0-alpha.2
Clone this wiki locally