How To Install nodejs-nodemon on AlmaLinux 8

In this tutorial we learn how to install nodejs-nodemon in AlmaLinux 8. nodejs-nodemon is Simple monitor script for use during development of a node.js app

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.

sudo dnf makecache --refresh

After updating yum database, We can install nodejs-nodemon using dnf by running the following command:

sudo dnf -y install nodejs-nodemon

Install nodejs-nodemon on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install nodejs-nodemon using yum by running the following command:

sudo yum -y install nodejs-nodemon

How To Uninstall nodejs-nodemon on AlmaLinux 8

To uninstall only the nodejs-nodemon package we can use the following command:

sudo dnf remove nodejs-nodemon

References

Summary

In this tutorial we learn how to install nodejs-nodemon on AlmaLinux 8 using yum and dnf.