yeet <PORT> kills any process on <PORT>.
Yeet works on Linux and MacOS.
You’re trying to start your server, but it won’t start because something else is already using port 3000.
yeet 3000
You’re trying to start your docker container, but it won’t start because something else is already using port 80.
yeet 80
You’re trying to start your $IMPORTANT_THING, but it won’t start because $SOMETHING_ANNOYING is already using port $PORT.
yeet $PORT
(you can install yeet this way as long as you agree to feel bad about it all day)
sudo /bin/bash -c "$(curl -fsSL https://yeet.today/install.sh)"
cargo installedcargo install yeet-rs
$ git clone https://github.com/Robert-Cunningham/yeet-rs
$ cd yeet-rs
$ cargo build --release
$ ./target/release/yeet --version
sudo kill -9 $(sudo lsof -t -i:3000)?You should probably use that other command instead. But if you’re lazy and can’t remember it without stack exchange, yeet will get the job done.
Yes.
Yes.
Yes.
Yes.
--version and --help, but only because it was more annoying to remove them than to leave them in.
The authors would like to thank Terry for her contribution to humanity.