Skip to content

How To Install Gulp.js on Debian 11/10/9

Advertisement

Gulp is a toolkit that helps developers for the automation of painful workflow during development. This tutorial will help you to install Gulp on Debian 11, Debian 10, and Debian 9 operating systems.

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 node.js PPA in your Debian system and install it.

sudo apt-get install python-software-properties 
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash - 
sudo apt-get install -y nodejs 

Make sure you have successfully installed node.js and NPM on your system

node --version 
npm --version 

Step 2 – Install Gulp.js on Debian

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 
node init 

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.

gulp --version 

CLI version: 2.2.0
Local version: 4.0.2

Rahul

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

Leave a Reply

Your email address will not be published. Required fields are marked *


Back to top