English | 中文
WinPortKill is a Windows x64 port and process inspection toolset built around a shared Rust core.
It currently ships in four user-facing forms:
- npm CLI:
@noxlightman/winportkill - VS Code extension: Visual Studio Marketplace
- JetBrains plugin: JetBrains Marketplace review/upload flow
- native binaries: GitHub Releases
npm install -g @noxlightman/winportkillCommon commands:
winportkill list --json
winportkill who-uses 3000
winportkill kill --port 3000
winportkill --serve 3000- Install from the Visual Studio Marketplace
- Or use the packaged
.vsixfrom GitHub Releases
The extension downloads and caches the Windows x64 sidecar on first use.
- Install from JetBrains Marketplace when available
- Or upload / install the plugin zip produced from
jetbrains-plugin/build/distributions
GitHub Releases publish Windows x64 artifacts such as:
winportkill-windows-x64.exewinportkill-gui-windows-x64.exewinportkill-vscode-<version>.vsixwinportkill-jetbrains-plugin-<version>.zip
- lists listening ports
- aggregates ports by process
- filters by PID, process name, protocol, address, or port
- kills a PID
- exposes a localhost HTTP sidecar for IDE integrations
The root package winportkill launches a ratatui interface by default.
- refreshes data every 10 seconds
- supports filtering
- switches between ports and processes views
- kills the selected PID
--json prints one snapshot and exits.
list [--json]who-uses <port> [--json]kill --pid <pid> [--json]kill --port <port> [--json]
--serve <port> starts a localhost HTTP service for IDE integrations.
winportkill-gui is an eframe / egui frontend over winportkill-core.
cargo build
cargo run -p winportkillOther common entrypoints:
cargo run -p winportkill -- --json
cargo run -p winportkill -- --serve 3000
cargo run -p winportkill-gui
cargo run -p winportkill -- list --json
cargo run -p winportkill -- who-uses 3000
cargo run -p winportkill -- kill --port 3000- Cargo.toml: workspace root and top-level TUI binary
- src: terminal UI entry and rendering
- crates/winportkill-core: Windows scan, aggregation, filtering, kill logic
- crates/winportkill-server: Axum HTTP API and WebSocket stream
- crates/winportkill-gui: native desktop GUI
- .vscode-extension: VS Code extension
- jetbrains-plugin: JetBrains plugin
- packages/npm-cli: npm wrapper package
- docs: implementation and architecture guides
- Project Architecture
- Server Mode Guide
- VS Code Extension Guide
- JetBrains Plugin Guide
- egui GUI Guide
- actual inspection and kill flow is Windows x64-only
- killing protected processes may require elevated privileges
- the IDE integrations are shells around the same localhost sidecar model
- the native GUI and TUI call
winportkill-coredirectly instead of going through HTTP