How To Install nodejs-supervisor on Fedora 36
Introduction
In this tutorial we learn how to install nodejs-supervisor
on Fedora 36.
What is nodejs-supervisor
A little supervisor script for nodejs. It runs your program, and watches for code changes, so you can have hot-code reloading like behavior, without worrying about memory leaks and making sure you clean up all the inter-module references, and without a whole new require system.
We can use yum
or dnf
to install nodejs-supervisor
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install nodejs-supervisor.
Install nodejs-supervisor on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install nodejs-supervisor
using dnf
by running the following command:
sudo dnf -y install nodejs-supervisor
Install nodejs-supervisor on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install nodejs-supervisor
using yum
by running the following command:
sudo yum -y install nodejs-supervisor
How To Uninstall nodejs-supervisor on Fedora 36
To uninstall only the nodejs-supervisor
package we can use the following command:
sudo dnf remove nodejs-supervisor
nodejs-supervisor Package Contents on Fedora 36
/usr/bin/node-supervisor
/usr/bin/supervisor
/usr/lib/node_modules/supervisor
/usr/lib/node_modules/supervisor/lib
/usr/lib/node_modules/supervisor/lib/cli-wrapper.js
/usr/lib/node_modules/supervisor/lib/supervisor.js
/usr/lib/node_modules/supervisor/package.json
/usr/share/doc/nodejs-supervisor
/usr/share/doc/nodejs-supervisor/README.md
/usr/share/licenses/nodejs-supervisor
/usr/share/licenses/nodejs-supervisor/LICENSE
/usr/share/man/man1/node-supervisor.1.gz
/usr/share/man/man1/supervisor.1.gz
References
Summary
In this tutorial we learn how to install nodejs-supervisor
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).