
:~# npm install -g grunt-cliįinally, check the installed version. To do this, run the following command: :~# apt install build-essential nodejsĪfter that, install GruntJS on Debian 9 using NPM. However, it is necessary to install the system compilation tools. To do that, first, we’ll get curl and then for NodeJS. GruntJS uses NodeJS but we do not have to learn from NodeJS. So, now we are going to learn how to install GruntJS on Debian 9. To perform this and other tasks, GruntJS requires plugins to be installed.
The compilation ( SASS, CSS, and others). Concatenation or minimization of files CSS or JS. Some of the things we can do using Grunt if it’s configured correctly are the following: This results in a decrease in coding time and the quality of it. It allows us to have a development of quality applications, automating as much as possible the tasks and focusing on good code. GruntJS is a tool for executing tasks using Javascript. We will also do a test to demonstrate some of the potentials of this tool. In this post, I will show you how to install GruntJS on Debian 10 / Debian 9. In this sense, there are some very interesting ones like Grunt which is basically a task manager for JavaScript. That’s why many tools are created to make coding easier. Less-common operating systemsįor more information on installing Node.js on a variety of operating systems, see this page.Web development is very popular these days. Or see this page to install npm for Linux in the way many Linux developers prefer. One of the installers on the Node.js download page. If you're using Linux or another operating system, use one of the following installers: Linux or other operating systems Node installers Other versions have not yet been tested with npm. Be sure to install the version labeled LTS. If you're using OS X or Windows, use one of the installers from the Node.js download page. If you use Linux, we recommend that you use a NodeSource installer.
If you are unable to use a Node version manager, you can use a Node installer to install both Node.js and npm on your system. Using a Node installer to install Node.js and npm
Node version managers allow you to install and switch between multiple versions of Node.js and npm on your system so you can test your applications on multiple versions of npm to ensure they work for users on different versions. Npm -v Using a Node version manager to install Node.js and npm