Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»Programming»Nodejs»How to Install Gulp.js on CentOS/RHEL 7/6

    How to Install Gulp.js on CentOS/RHEL 7/6

    By RahulNovember 7, 20181 Min ReadUpdated:January 31, 2020

    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.

    Advertisement

    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_12.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 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 Gulp module in your application with the following command.

    gulp --version
    
    CLI version: 2.2.0
    Local version: 4.0.2
    

    gulp gulpjs node NodeJs
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    How to Create React.js Application on macOS

    How to list all collections in MongoDB database

    How to Install Grunt on Ubuntu 22.04 & 20.04

    Add A Comment

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • Error: EACCES: permission denied, scandir (Resolved)
    • How To Install Python 3.11 on Ubuntu 22.04 / 20.04
    • How to Install Python 3.11 on Amazon Linux 2
    • An Introduction to the “./configure” Command: Compiling Source Code in Linux
    • How to Install PHP 8.x on Pop!_OS
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.