How To Install nodejs-nodemon on AlmaLinux 8
Introduction
In this tutorial we learn how to install nodejs-nodemon
on AlmaLinux 8.
What is nodejs-nodemon
Simple monitor script for use during development of a node.js app. For use during development of a node.js based application. nodemon will watch the files in the directory in which nodemon was started, and if any files change, nodemon will automatically restart your node application. nodemon does not require any changes to your code or method of development. nodemon simply wraps your node application and keeps an eye on any files that have changed. Remember that nodemon is a replacement wrapper for node, think of it as replacing the word “node” on the command line when you run your script.
We can use yum
or dnf
to install nodejs-nodemon
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install nodejs-nodemon.
Install nodejs-nodemon on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
After updating yum database, We can install nodejs-nodemon
using dnf
by running the following command:
Install nodejs-nodemon on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install nodejs-nodemon
using yum
by running the following command:
How To Uninstall nodejs-nodemon on AlmaLinux 8
To uninstall only the nodejs-nodemon
package we can use the following command:
References
Summary
In this tutorial we learn how to install nodejs-nodemon
on AlmaLinux 8 using yum and dnf.