Overview
Cross-platform port/process query & kill and shell execution CLI without lsof/ss.
funshell finds and terminates processes by listening port or command-line keyword and runs shell commands with timeout control. Its core and CLI are written in Rust—reading /proc/net directly on Linux without requiring lsof or ss—paired with a zero-dependency PyO3 Python package.
- Native port & process discoveryReads /proc/net and system process tables natively on Linux so port lookup works even in minimal containers without lsof or ss.
- Safe signal handlingValidates named and numeric signals strictly and automatically excludes the funshell CLI process itself during name-based kills.
- Timeout-safe shell executionIncludes a run subcommand with working directory control, automatic timeout termination, live streaming and multi-encoding capture.
- Native binary & Python APIThe CLI ships as a statically linked binary while the Python package has zero runtime dependencies and releases the GIL during I/O.
Install
4 channels
Every channel installs the same binaries from the same release.
Installs the funshell .deb, for amd64 and arm64.
sudo apt install funshellUpgrading later
sudo apt update && sudo apt install --only-upgrade funshellNeeds the source set up once The three lines are on the home page
The bare name is enough — brew resolves it across every tap you have added.
brew install funshellUpgrading later
brew upgrade funshellNeeds the tap added once The three lines are on the home page
Install directly from crates.io with a Rust toolchain.
cargo install funshellInstalls the Python library only; it does not ship the funshell CLI. Use apt, brew, Cargo or Release binaries above for the CLI.
pip install funshellDownload
Builds of 2.0.0
If you would rather not add the source, take the files straight from this release. Each one says which devices it is for.
- amd64
- funshell-x86_64-pc-windows-msvc.exe
A single executable; put it on your PATH.
- amd64
- funshell-x86_64-apple-darwin.tar.gz
Archive holding a single executable.
- funshell-x86_64-apple-darwin
A single executable; put it on your PATH.
- arm64
- funshell-aarch64-apple-darwin.tar.gz
Archive holding a single executable.
- funshell-aarch64-apple-darwin
A single executable; put it on your PATH.
- amd64
- funshell_2.0.0_amd64.deb
.deb package for Debian, Ubuntu and their derivatives.
- funshell-x86_64-unknown-linux-musl.tar.gz
Statically linked (musl) archive, independent of your glibc version.
- funshell-x86_64-unknown-linux-musl
A single statically linked (musl) executable, independent of your glibc version.
- funshell-x86_64-unknown-linux-gnu
A single executable; put it on your PATH.
- arm64
- funshell_2.0.0_arm64.deb
.deb package for Debian, Ubuntu and their derivatives.
- funshell-aarch64-unknown-linux-musl.tar.gz
Statically linked (musl) archive, independent of your glibc version.
- funshell-aarch64-unknown-linux-musl
A single statically linked (musl) executable, independent of your glibc version.
- funshell-aarch64-unknown-linux-gnu
A single executable; put it on your PATH.
Versions
1 kept in the index
apt can install a specific version; the tap only ever carries the newest one. For an older build use apt, or take it from the release.
- 2.0.0 Latest
Released Nov 28, 2026 · amd64 594 KB · arm64 556 KB
sudo apt install funshell=2.0.0
Changelog
Last release
This project keeps a hand-written changelog in prose, which is not worth restating here — follow a version number to read it.
Released Nov 28, 2026