0 votes
in JAVA by
How do you install gulp?

1 Answer

0 votes
by

Gulp and gulp plugins are installed and managed via npm, the Node.js package manager. To install gulp, first ensure the npm is installed properly. And then run following command to install gulp globally on your system.

npm install --global gulp

Read this excellent post on “Why do we need to install gulp globally and locally”?

And also install gulp in your project devDependencies:

npm install --save-dev gulp

--save-dev option writes devDependencies to “package.json”. Please make sure when you run this command, your package.json is created. If not create, then use npm init command to create this file.

Related questions

0 votes
asked Feb 15, 2020 in JAVA by rahuljain1
0 votes
asked Feb 15, 2020 in JAVA by rahuljain1
...