Answer the question
In order to leave comments, you need to log in
What is the difference between gulp and gulp-cli?
Hello everyone, I'm confused, plz tell me the difference between gulp and gulp-cli?
What do you need to put on a clean computer at the beginning, what is local and what is global?
Ato is set differently in different lessons, somewhere they put only gulp, somewhere gulp-cli
It's just for me to make websites.
Answer the question
In order to leave comments, you need to log in
Previously, there was one version of gulp that needed to be installed globally and locally.
The local version is used in gulpfile.js and the global version is used to run in the console.
Basically, it still works.
But starting from version 4 of gulp (which is not yet released but everyone uses it), you need to install gulp-cli.
The documentation recommends installing gulp-cli.
And before that, remove the global version of gulp
. The separation was due to compatibility issues between the global and local versions. So follow the documentation.
gulpjs.com
globally you need to install gulp-cli
here it is explained in detail why stackoverflow.com/questions/35571679/what-does-gul...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question