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 Ubuntu 18.04 & 16.04 LTS

    How to Install Gulp.js on Ubuntu 18.04 & 16.04 LTS

    By RahulApril 19, 20212 Mins Read

    Gulp is an toolkit helps developers for the automation of painful workflow during the development. This tutorial will help you to install Gulp on Ubuntu 18.04 LTS, 16.04 LTS, and LinuxMint operating systems.

    Advertisement

    Step 1 – Installing Node.js

    First of all, you need to install node.js on your system. Use following set of commands to add node.js PPA in your Ubuntu system and install it.

    sudo apt-get install python-software-properties
    curl -sL https://deb.nodesource.com/setup_12.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 – Install Gulp.js on Ubuntu

    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
    npm 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
    

    Conclusion

    This tutorial describes you to install Gulp.js on a Ubuntu system. Visit official documentation page for further development details.

    gulp NodeJs npm
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    Error: EACCES: permission denied, scandir (Resolved)

    How to list all collections in MongoDB database

    How to Install Grunt on Ubuntu 22.04 & 20.04

    View 3 Comments

    3 Comments

    1. none on April 18, 2021 2:08 pm

      It’s npm init, not node init.

      Reply
    2. Fortune on October 25, 2020 1:55 pm

      Great work Rahul.

      Reply
    3. Aqib A. on April 6, 2019 11:32 am

      THanks Rahul!

      Reply

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • Implementing a Linux Server Security Audit: Best Practices and Tools
    • cp Command in Linux (Copy Files Like a Pro)
    • 15 Practical Examples of dd Command in Linux
    • dd Command in Linux (Syntax, Options and Use Cases)
    • Iptables: Common Firewall Rules and Commands
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

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