Kill the process listening on the specified port.
support Windows/Linux/macOS
If you are using unix
style system(macOS
/Linux
). enter the command line to install.
# install the latest version
curl -fsSL https://raw.githubusercontent.com/axetroy/kpv/master/install.sh | bash
# install the specified version
curl -fsSL https://raw.githubusercontent.com/axetroy/kpv/master/install.sh | bash -s v0.1.7
Or download the release file for your platform and put it to $PATH
folder.
$ kpv --help
kpv - Kill the process listening on the specified port
USAGE:
kpv <OPTIONS> <...PORTS>
OPTIONS:
-h,--help print help informatino
-V,--version print version information
-f,--force kill forcing
EXAMPLE:
kpv 1080 9527 kill multiple ports
kpv -f 1080 kill the process by forcing
VERSION:
v0.1.7
SOURCE CODE:
https://github.com/axetroy/kpv
$ make
The MIT License