Installation of fkill on Different OS.
Now let’s see how we can install the fkill on systems. The requirement to install fkill is NodeJS and npm, so first, we need to install the nodejs. Use one of the following commands to install NodeJS according to your OS:
For Debian/Ubuntu:
sudo apt-get install nodejs npm
For Arch Linux:
sudo pacman -S nodejs npm
For Fedora / Red Hat 8,9
sudo dnf install nodejs npm
For OSX
sudo brew install nodejs npm
For Windows
Open command prompt or powershell of windows with administratie privileges.
Run the following command:
curl -o nodejs.msi https://nodejs.org/dist/v14.17.0/node-v14.17.0-x64.msi
This will install a 64-bit version of Node.js, if you want to change it you can refer to the official site to pick up the links for download according to your requirement.
Now run the nodejs installer from cli
msiexec /i nodejs.msi /qn
Here `/qn` will run the installer silently without showing the GUI interface, to see the GUI installer interface, just run the same command without `/qn`
Easy way to kill process using Fkill in Linux
fkill-cli is a command-line-based tool to kill processes interactively. Fkill is developed using Nodejs. It can run on different operating systems like macOS, Linux, and Windows. To kill the process using fkill we just have to mention the process name or the process PID. Fkill can also be used to kill port.