Skip to content

How to Install Gulp.js on Linux Mint 21/20/19

Steps
2
Covers
Linux Mint, Node.js, npm
On this page 2 steps

Gulp is a toolkit that helps developers for the automation of painful workflow during development. This tutorial will help you to install Gulp on Linux Mint operating systems.

Step 1 of 2Installing 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 Linuxmint system and install it.

curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash - 
sudo apt-get install nodejs 

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

node --version 
npm --version 

Step 2 of 2Install Gulp.js on Linux Mint

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

Rahul Kumar is the founder and chief editor of TecAdmin.net. A Red Hat Certified Engineer (RHCE), he has worked in IT since 2009, with hands-on experience in Linux system administration, DevOps, web hosting, cloud platforms and automation. He started TecAdmin in 2013 to share practical, step-by-step guides, and leads its editorial work with one aim: making technical learning clear and useful for sysadmins, developers and beginners alike.

Leave a Reply

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


Back to top