Facebook X (Twitter) Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook X (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.

    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 root@debian
    

    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

    A Practical Guide for Reading ‘.env’ Files in Node.js

    Setting Up Angular on Ubuntu: Step-by-Step Guide

    How to Install NVM on CentOS Stream 9 & RHEL 9

    Add A Comment

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • Difference Between Full Virtualization vs Paravirtualization
    • Virtualization vs. Containerization: A Comparative Analysis
    • Using .env Files in Django
    • Using .env File in FastAPI
    • Setting Up Email Notifications for Django Error Reporting
    Facebook X (Twitter) Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

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