Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»Linux Distributions»Debian»How to Install Grunt on Debian 11/10

    How to Install Grunt on Debian 11/10

    By RahulJune 28, 20222 Mins Read

    Grunt (The JavaScript Task Runner) is an automation tool to perform repetitive tasks like compilation, unit testing etc. Grunt has a long list of the plugin to perform tasks provided by its community. In this tutorial, you will learn how to install Grunt & Grunt-cli on Debian 9 Stretch and Debian 9 Jessie.

    Advertisement

    Prerequsites

    You must have root or sudo privileged user account access to your Debian system. Now login to your Debian system. For remote system can use ssh client or its alternatives for Windows.

    ssh [email protected]
    

    Upgrade the current packages to the latest version.

    sudo apt update
    sudo apt upgrade
    

    Step 1 – Installing Node.js

    If you already have node.js and npm installed on your system skip this step. Elase you need to install node.js on your system first. 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_8.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 Grunt on Debian

    Now use the following command to install grunt and grunt cli using npm command line utility.

    sudo npm install -g grunt
    

    This will install Grunt globally on your system. Run command to check the version installed on your system.

    grunt --version
    
    grunt-cli v1.2.0
    

    grunt grunt-cli node NodeJs
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    How to Setup DKIM (DomainKeys) with Postfix

    A Step-by-Step Guide to Installing OpenDKIM with Postfix on Ubuntu – Unleash the Power of DKIM!

    How to Create React.js Application on macOS

    How to list all collections in MongoDB database

    Add A Comment

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • How to Split Large Archives in Linux using the Command Line
    • System.out.println() Method in Java: A Beginner’s Guide
    • Split Command in Linux With Examples (Split Large Files)
    • Test Your Internet Speed from the Linux Terminal
    • 11 Practical Example of cat Command in Linux
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

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