Gulp is a toolkit that helps developers for the automation of painful workflow during development. This tutorial will help you to install Gulp.js on Fedora operating system.
Step 1 – Installing Node.js
First of all, you need to install node.js on your system. Use the following set of commands to add the node.js DNF repository on your Fedora system and install it.
sudo dnf install -y gcc-c++ make
curl -sL https://rpm.nodesource.com/setup_18.x | sudo -E bash -
Then install the Nodejs package on your system.
sudo dnf install nodejs -y
Step 2 – Install Gulp.js on Fedora
After installation of Node.js and Npm on your system, use the following commands to install Gulp CLI globally on your system.
npm install -g gulp-cli
You have successfully installed the Gulp CLI tool on your system. Switch to your existing node.js application directory or create a new application with the below commands:
mkdir my-project && cd my-project
Then add the Gulp module to your project
npm install --save-dev gulp
All done, Let’s check the installed version of Gulp CLI on your system and the Gulp module in your application with the following command.
CLI version: 2.2.0
Local version: 4.0.2