Gulp is available on Windows, Linux, and macOS. The installation process is very similar in any of these operating systems, and the only difference is that you need to run the installation command as administrator on UNIX-based platforms. You need to have already installed Node and NPM on your PC. To install, type the next command:
$ npm install –g gulp
Let's wait some minutes after the installation process finishes and then verify that all its okay:
$ gulp –vCLI Version 3.9.0
That's all! We now have Gulp installed and ready to automate tasks!
First of all, you need to ensure that your web project is already configured to import npm modules; if no package.json file exists, you must create one with the npm init command. To ...