Gulp is an toolkit helps developers for the automation of painful workflow during the development. This tutorial will help you to install Gulp on CentOS 7 and CentOS 6 operating systems.
Step 1 – Installing Node.js
First of all, you need to install node.js on your CentOS system. Use following set of commands to add node.js yum repository on your CentOS system and install it.
sudo yum install -y gcc-c++ make curl -sL https://rpm.nodesource.com/setup_10.x | sudo -E bash -
Then install the Nodejs package on your system.
sudo yum install nodejs
Step 2 – Install Gulp.js on CentOS
After installation of Node.js and NPM on your system, use following commands to install Gulp on CentOS globally. The global installation will allow all users to use Gulp on your system.
sudo npm install -g gulp
You have successfully installed Gulp. Let’s check the installed version of bower on your system using the following command.
gulp --version [12:19:18] CLI version 3.9.1 [12:19:18] Local version 3.9.1