Gulp for Beginners

Installing Gulp on Windows Machine


Gulp is a open-source JavaScript tool which automates the time-consuming and repetitive tasks that involve in web development such as minification, concatenation, unit testing, linting and so on.

There are plenty of tasks that gulp can carry out to minimize the work of developer, head over to the official website of Gulp JS to checkout list of available plugins and their usage.

In this post we’d get to know about installing gulp-cli, creating and running first gulp task.

Installing gulp-cli

Gulp is built on Node.js and npm so before try to install gulp make sure that latest version of Node.js is installed on your machine, if not head over to official website of node.js and install appropriate version of node.js.

Reading recommendation Installing Node.js on Windows PC

Open up command prompt (windows machine) and type the following command to install gulp-cli

npm install gulp-cli -g

Note : -g flag let npm to install gulp-cli globally which allows us to access and use gulp from anywhere computer.

Once your download completed you can check the version of gulp-cli to make sure that you have installed gulp-cli on your machine using the following command

gulp -v

Happy coding 🙂

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s